Hi there,
We are using packer to build rootfs to deploy appliances on our proxmox servers for lxc and docker.
I tried to create a container based on an imported rootfs with folowing command line
And here is the output of the command
Question : Do i miss something to provide os information to pct tool ? Is there any file in our "template" we should populate to make the creation ok ?
Files such as /etc/os-relase or /etc/lsb_release are provided and full of complete informations.
Thanks for answer
We are using packer to build rootfs to deploy appliances on our proxmox servers for lxc and docker.
I tried to create a container based on an imported rootfs with folowing command line
Code:
pct create 999 /var/lib/vz/template/cache/packer-debian-template.tar.gz --arch amd64 --hostname packer-debian-stretch --rootfs lv_thin_builds:10 --memory 2048 --cores 2
And here is the output of the command
Code:
Logical volume "vm-999-disk-0" created.
mke2fs 1.44.5 (15-Dec-2018)
Discarding device blocks: done
Creating filesystem with 2621440 4k blocks and 655360 inodes
Filesystem UUID: 02db939c-432d-4d46-96bb-3330f7352119
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Multiple mount protection is enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information: done
extracting archive '/var/lib/vz/template/cache/packer-debian-template.tar.gz'
Total bytes read: 1321543680 (1.3GiB, 182MiB/s)
Logical volume "vm-999-disk-0" successfully removed
unable to create CT 999 - unable to detect OS distribution
Question : Do i miss something to provide os information to pct tool ? Is there any file in our "template" we should populate to make the creation ok ?
Files such as /etc/os-relase or /etc/lsb_release are provided and full of complete informations.
Thanks for answer