Skip to content

Instantly share code, notes, and snippets.

@junjuew
Created July 10, 2018 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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