Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
vm_password [2015/04/03 16:46]
imcsk8
vm_password [2019/03/21 22:55] (current)
imcsk8
Line 2: Line 2:
 \\ \\
  
 +===== Recommended ====
 +<​code>​
 +# virt-customize -a /​var/​lib/​libvirt/​images/​vmtest01.qcow2 --root-password password:​redhat --ssh-inject '​root:​file:/​home/​user/​.ssh/​id_rsa.pub' ​
 +</​code>​
 +
 +
 +===== Manually =====
   * Create the new password ​ and copy it   * Create the new password ​ and copy it
   * Enter the image,   * Enter the image,
Line 22: Line 29:
 ><​fs>​ vi /etc/shadow ><​fs>​ vi /etc/shadow
 </​code>​ </​code>​
 +