Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3 Script - Advanced Settings #162

Closed
tteck opened this issue Apr 18, 2022 · 16 comments
Closed

v3 Script - Advanced Settings #162

tteck opened this issue Apr 18, 2022 · 16 comments

Comments

@tteck
Copy link
Owner

tteck commented Apr 18, 2022

Screenshot 2022-04-21 10 30 31 AM

11 settings can be defined
If a static IP is used, you must set a Gateway IP
Static IP requires CIDR Notation (/24)

Screenshot 2022-04-27 9 10 53 AM

9 settings can be defined

@maccident
Copy link

maccident commented Apr 18, 2022

For reference:

Using Advanced Settings
Using CT Type Unprivileged
Using CT Password Automatic Login
Using CT ID 110
Using CT Name technitiumdns
Using Disk Size 2
Using 1vCPU
Using 512MiB RAM
Using Static IP Address 192.168.99.2/24
Using Gateway IP Address 192.168.99.1
Using VLAN Tag 100
Are these settings correct(y/n)? y

 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 110 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.99.2 2603:beef:beef:beef:beef:beef:beef:a241
 ✓ Updated Container OS
 - Installing Dependencies...root@titan:~#

(ipv6 address redacted)

@tteck
Copy link
Owner Author

tteck commented Apr 18, 2022

I'm no network guy, but I'd guess IPV6 is the cause because the gateway is set for IPV4 gw=<GatewayIPv4> not gw6=<GatewayIPv6>

@maccident
Copy link

you think that might be why the installer is failing, or why technitium is confused about dhcp?

@tteck
Copy link
Owner Author

tteck commented Apr 18, 2022

disable IPV6

@maccident
Copy link

maccident commented Apr 18, 2022

I've disabled v6 on my dhcp server and trying again. Interestingly enough, after the whole thing fails, the LXC container is not assigned to VLAN 100, but the static v4 address and gateway are set properly.

No longer do I see the v6 address in the progress text, but the install fails in the same place.

@maccident
Copy link

logs

Using Advanced Settings
Using CT Type Unprivileged
Using CT Password Automatic Login
Using CT ID 110
Using CT Name technitiumdns
Using Disk Size 2
Using 1vCPU
Using 512MiB RAM
Using Static IP Address 192.168.99.2/24
Using Gateway IP Address 192.168.99.1
Using VLAN Tag 100
Are these settings correct(y/n)? y

 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 110 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.99.2
 ✓ Updated Container OS
 - Installing Dependencies...root@titan:~#

@tteck
Copy link
Owner Author

tteck commented Apr 18, 2022

Try again and see if the VLAN shows

@tteck
Copy link
Owner Author

tteck commented Apr 18, 2022

Screenshot 2022-04-18 1 23 45 AM

@maccident
Copy link

It now works with IPv6 left enabled.
Thank you!

@rzimin
Copy link

rzimin commented Apr 19, 2022

Am I getting it right that the biggest difference for V3 scripts are those advanced options? And basically there is no need to recrate / adjust existing VMs?

@tteck
Copy link
Owner Author

tteck commented Apr 19, 2022

Correct!

@andre68723
Copy link

Hi,

maybe a hint can be added for ipv4 and trailing /24 ?

Using Static IP Address 192.168.0.88
Using Gateway IP Address NONE
Using VLAN Tag NONE
Are these settings correct(y/n)? y
 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 - Creating LXC Container...400 Parameter verification failed.
net0: invalid format - format error

@tteck
Copy link
Owner Author

tteck commented Apr 21, 2022

and not to mention no Gateway IP Address

Using Static IP Address 192.168.0.88
Using Gateway IP Address NONE

#162 (comment)

@andre68723
Copy link

yes, ended up in (no error) and a container which can't login and has no docker either.
but Gateway you already mentioned above

@tteck
Copy link
Owner Author

tteck commented Apr 21, 2022

I'm not following. What are you attempting?

@andre68723
Copy link

andre68723 commented Apr 21, 2022

error is clear, on my side. just asking for a hint in the shell, e.g.
Enter a Static IP Address, or Press [ENTER] for Default: DHCP ->
Enter a Static IPv4 CIDR (/24) Address , or Press [ENTER] for Default: DHCP
same for gw
Enter a Gateway IP, or Press [ENTER] for Default: NONE
Enter a Gateway IP (mandatory if static ip is used), or Press [ENTER] for Default: NONE

@tteck tteck unpinned this issue Jun 7, 2022
@tteck tteck closed this as completed Jun 7, 2022
@tteck tteck pinned this issue Jul 11, 2022
@tteck tteck changed the title v3 Install Script Advanced Settings v3 Script Advanced Settings Aug 1, 2022
@tteck tteck changed the title v3 Script Advanced Settings v3 Script - Advanced Settings Aug 1, 2022
@tteck tteck unpinned this issue Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants