Skip to content

Instantly share code, notes, and snippets.

@junjuew
Created July 10, 2018 19:05
Show Gist options
  • Save junjuew/c0aad04cdedcb72297ed5ab014342d26 to your computer and use it in GitHub Desktop.
Save junjuew/c0aad04cdedcb72297ed5ab014342d26 to your computer and use it in GitHub Desktop.
Add password login to cloud images
virt-customize -a /var/lib/libvirt/images/debian9-vm1.qcow2 --root-password password:NewRootUserPasswordHere --uninstall cloud-init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment