-
Notifications
You must be signed in to change notification settings - Fork 0
Proxmox 5.4
lhmerino edited this page Sep 10, 2019
·
18 revisions
- Size: 50GB
- Created July 14, 2019
- Updated September 8, 2019
- RAM: 4096 MB
- CPU: 2 cores + 2 threads
-
Proxmox Documentation on containers
- Section Container Images describes how to download a container template and create a container
- Recommendation: Use a Long Term Support version
- Storage parameter must be set when creating the container
--storage local-lvm
- Section Managing containers with pct describes how to interact with the container including configuring the container while its running.
- Section Container Images describes how to download a container template and create a container
-
Man pages for pct
- Use this documentation to view all the possible actions and arguments with pct
Options for partitions:
- swapsize: 0
- maxroot: 10GB
- Change pve (proxmox) package from enterprise to no-subscription
- Comment out the enterprise repository in /etc/apt/sources.list.d/pve-enterprise.list
- Add no-subscription repository /etc/apt/sources.list
- Used items in this article: https://pve.proxmox.com/wiki/Package_Repositories#_proxmox_ve_no_subscription_repository
- Set hostname to "proxmox"
hostnamectl set-hostname proxmox- Changed /etc/hosts
- Changed /etc/hostname
hostname proxmox
- Force new password after first successful login
chage -d 0 root
- Removal of SSH keys generated during installation
- Deleted /root/.ssh/id_rsa; /root/.ssh/id_rsa.pub; /root/.ssh/authorized_keys
- Change banner
- Edit /usr/bin/pvebanner
- Add banner contents to SSH
- Added
Banner /etc/issueto /etc/ssh/sshd_config
- Added
- Install network tools
apt-get install net-tools
- Install vim editor
apt-get install vim
- Install git
apt-get install git
- Install tmux and screen
apt-get install tmux screen
- Configure network interfaces
- Up to 5 network interfaces will be automatically configured to run DHCP
- Bridge is set to be a static IP address
172.20.0.1with no bridge ports (no connection to any of the outside network interfaces). For custom bridge configuration, visit this link
- Add the following container templates by default into the disk image
- Debian 9.0:
pveam download local debian-9.0-standard_9.7-1_amd64.tar.gz - Ubuntu 16.04:
pveam download local ubuntu-16.04-standard_16.04.5-1_amd64.tar.gz - Ubuntu 18.04:
pveam download local ubuntu-18.04-standard_18.04.1-1_amd64.tar.gz
- Debian 9.0:
- Unfortunately, when there are no SSH keys, Proxmox decides to automatically create one during boot. The disk image, however, does not have any SSH keys by default. You can verify this by creating multiple Proxmox machines and seeing different SSH keys for each machine.
- Updates / Upgrades
apt-get update && apt-get upgrade && apt-get dist-upgrade
- Additional packages: tmux, screen and git
- Additional templates: Ubuntu 16.04 and Ubuntu 18.04