mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user