Hi all,
I'm a proxmox noobie, but finally managed to install proxmox on a fully LUKS2-encrypted partition, automatically unlocked from a LUKS1-encrypted boot-partition (if you want to do the same, this is how I did it: http://forums.debian.net/viewtopic.php?f=17&t=147061&sid=a45b8597fca4ed1277c3f1c98a882550). After this, I used the guide at https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster - I just have a few minor issues left:
I installed proxmox via debootstrap and used the "--variant=minbase" due to the phrasing "It is recommended to only install the "standard" package selection, and nothing else, as Proxmox VE brings its own packages for qemu, lxc. A desktop environment is not necessary":
However every time I boot up now, I don't have networking enabled before I do:
I think maybe it was a mistake I used the "--variant=minbase" - I even had to "apt-get install iputils-ping" as I couldn't ping... But in any case I have followed the procedure and installed the Proxmox VE packages, added the pve-no-subscription repo, repo key etc and ran "apt install proxmox-ve postfix open-iscsi".
Question 1: How do I install the more basic/standard packages that are normally installed (as I couldn't even ping, I think I'm missing a lot of standard packages and I'm used to Arch linux, not debian and don't want any conflicts of debian vs proxmox packages - furthermore I'm concerned if things aren't completely working when I start using proxmox more)...
Consider these alternative debootstrap installation methods:
Question 2: I'm thinking that for future installations, from scratch, would it be better to just omit the "--variant=minbase" and use one of the alternative debootstrap-methods (would that e.g. give me networking from the start, after bootup?)
I'm feeling a unhappy about having "proxmox" in /etc/hostname and my /etc/hosts looks like this:
The reason I'm a bit unhappy about this, is that I have to manually type in a static IP address, in this case 192.168.1.50. But the computer uses DHCP (at the moment "dhclient enp4s0" to obtain an IP address automatically) so I would like prefer DHCP to always be used and not specifically assign a static ip in /etc/hosts... When I tried that, I had several problems (boot-up error messages and other errors, e.g. "/etc/pve/local/pve-ssl.key failed to load local private key") before I ended up googling and following other recommendations and then I assigned a static IP address to /etc/hosts, and the error messages disappared... The problem arises that day where the IP address in /etc/hosts isn't the same as that obtained via DHCP (ip address reservation is used, but anyway - could give a conflict)...
Question 3: is it possible to avoid the static IP address in /etc/hosts and instead use DHCP? If so, how?
About missing networking at boot-up: I also read and directly followed https://www.debian.org/doc/manuals/..._the_modern_network_configuration_without_gui which says that a DHCP client configuration can be set up by creating "/etc/systemd/network/dhcp.network". E.g.:
But that's apparantly not enough... Quite annoying that I don't automatically have network enabled, after boot-up (and at least the first login).
Question 4: What is the correct/best way to fix my networking issue, so that's always enabled after boot-up, preferably before anyone logs in?
I would be grateful for help with these - probably/hopefully minor issues!
I'm a proxmox noobie, but finally managed to install proxmox on a fully LUKS2-encrypted partition, automatically unlocked from a LUKS1-encrypted boot-partition (if you want to do the same, this is how I did it: http://forums.debian.net/viewtopic.php?f=17&t=147061&sid=a45b8597fca4ed1277c3f1c98a882550). After this, I used the guide at https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster - I just have a few minor issues left:
I installed proxmox via debootstrap and used the "--variant=minbase" due to the phrasing "It is recommended to only install the "standard" package selection, and nothing else, as Proxmox VE brings its own packages for qemu, lxc. A desktop environment is not necessary":
# debootstrap --variant=minbase stable /mnt/rootPartition http://deb.debian.org/debian/
However every time I boot up now, I don't have networking enabled before I do:
Bring up interface:
# ifconfig enp4s0 up
Get IP-address:
# dhclient enp4s0
I think maybe it was a mistake I used the "--variant=minbase" - I even had to "apt-get install iputils-ping" as I couldn't ping... But in any case I have followed the procedure and installed the Proxmox VE packages, added the pve-no-subscription repo, repo key etc and ran "apt install proxmox-ve postfix open-iscsi".
Question 1: How do I install the more basic/standard packages that are normally installed (as I couldn't even ping, I think I'm missing a lot of standard packages and I'm used to Arch linux, not debian and don't want any conflicts of debian vs proxmox packages - furthermore I'm concerned if things aren't completely working when I start using proxmox more)...
Consider these alternative debootstrap installation methods:
Install a specific version: "buster"
# debootstrap --arch amd64 buster /mnt/root https://deb.debian.org/debian/
I think this probably just takes the latest and installs that:
# debootstrap stable /mnt/root http://deb.debian.org/debian/
Question 2: I'm thinking that for future installations, from scratch, would it be better to just omit the "--variant=minbase" and use one of the alternative debootstrap-methods (would that e.g. give me networking from the start, after bootup?)
I'm feeling a unhappy about having "proxmox" in /etc/hostname and my /etc/hosts looks like this:
127.0.0.1 localhost
192.168.1.50 proxmox proxmox.home pvelocalhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6--allrouters
The reason I'm a bit unhappy about this, is that I have to manually type in a static IP address, in this case 192.168.1.50. But the computer uses DHCP (at the moment "dhclient enp4s0" to obtain an IP address automatically) so I would like prefer DHCP to always be used and not specifically assign a static ip in /etc/hosts... When I tried that, I had several problems (boot-up error messages and other errors, e.g. "/etc/pve/local/pve-ssl.key failed to load local private key") before I ended up googling and following other recommendations and then I assigned a static IP address to /etc/hosts, and the error messages disappared... The problem arises that day where the IP address in /etc/hosts isn't the same as that obtained via DHCP (ip address reservation is used, but anyway - could give a conflict)...
Question 3: is it possible to avoid the static IP address in /etc/hosts and instead use DHCP? If so, how?
About missing networking at boot-up: I also read and directly followed https://www.debian.org/doc/manuals/..._the_modern_network_configuration_without_gui which says that a DHCP client configuration can be set up by creating "/etc/systemd/network/dhcp.network". E.g.:
[Match]
Name=en*
[Network]
DHCP=yes
But that's apparantly not enough... Quite annoying that I don't automatically have network enabled, after boot-up (and at least the first login).
Question 4: What is the correct/best way to fix my networking issue, so that's always enabled after boot-up, preferably before anyone logs in?
I would be grateful for help with these - probably/hopefully minor issues!