lyt_yudi
2018-03-23 06:28:12 UTC
1. Use --sshkey issue:
# qm set 111 --sshkey ~/.ssh/id_rsa.pub
400 Parameter verification failed.
sshkeys: invalid format - invalid urlencoded string: /root/.ssh/id_rsa.pub
qm set 111 --sshkey /root/.ssh/id_rsa.pub <vmid> [OPTIONS]
2. Can't setup static ip address for vm's by cloud-init
Test not passed:
CentOS-6(CentOS-6-x86_64-GenericCloud.qcow2)
CentOS-7(CentOS-7-x86_64-GenericCloud.qcow2)
Debian-9(debian-9-openstack-amd64.qcow2)
only dhcp? configuration static mode is still used in DHCP!
Test passed:
Ubuntu-16.04(xenial-server-cloudimg-amd64-disk1.img)
Ubuntu-18.04(bionic-server-cloudimg-amd64.img)
Can’t use the static ip for some Linux OS, is it the reason why the cloud-init version is too low? must be with cloudinit >= 17.1?
Thanks!
# qm set 111 --sshkey ~/.ssh/id_rsa.pub
400 Parameter verification failed.
sshkeys: invalid format - invalid urlencoded string: /root/.ssh/id_rsa.pub
qm set 111 --sshkey /root/.ssh/id_rsa.pub <vmid> [OPTIONS]
2. Can't setup static ip address for vm's by cloud-init
Test not passed:
CentOS-6(CentOS-6-x86_64-GenericCloud.qcow2)
CentOS-7(CentOS-7-x86_64-GenericCloud.qcow2)
Debian-9(debian-9-openstack-amd64.qcow2)
only dhcp? configuration static mode is still used in DHCP!
Test passed:
Ubuntu-16.04(xenial-server-cloudimg-amd64-disk1.img)
Ubuntu-18.04(bionic-server-cloudimg-amd64.img)
Can’t use the static ip for some Linux OS, is it the reason why the cloud-init version is too low? must be with cloudinit >= 17.1?
Thanks!