p2v: Set root password of virt-p2v ISO to 'p2v'.

It is documented as 'p2v', but in fact this was not implemented
so there is no way to log in as root on the console.

On RHEL we also have to add the 'passwd' package, else you get:

  Error creating Live CD : Unable to set unencrypted password due to lack of /usr/bin/passwd
This commit is contained in:
Richard W.M. Jones
2015-01-23 12:16:31 +00:00
parent 515c3e3e73
commit 9638b13ba0

View File

@@ -21,6 +21,8 @@ lang en_US.UTF-8
keyboard us
timezone --utc GMT
rootpw --plaintext p2v
selinux --enforcing
firewall --enabled
@@ -51,6 +53,9 @@ rpm
# Note you must have a kernel, else the boot menu won't work:
kernel
# This is required in order for RHEL to set the root password.
passwd
# Required to run firewall --enabled kickstart command:
firewalld