[node-devel] Ovirt node-imge build error

Alan Pevec apevec at gmail.com
Tue Nov 29 10:59:45 UTC 2011


2011/11/29 老臭 <hypervisor at qq.com>:
>    Then I want to add root account to Livecd;
>    So I modified common-post.ks file, with "echo 123456|passwd --stdin root"
> replacing "passwd -l root".

I'd strongly discourage having root enabled in the image, root account
access is not needed for oVirt usage.
But if you really want it, you can boot the image with rootpw boot parameter:
  rootpw=<encrypted_password>

You can have a look at RHEV-H guide for parameter description:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation-Authentication_parameters.html

>    But after that when I made ovirt-node-image.iso, I got this error:
...
> Unmounting directory
> /root/ovirt-cache/node-creator-x86_64-tmp/imgcreate-anTeJl/install_root
> failed, using lazy umount

Recent Fedora update broke image builds (rouge RPM starts daemon in
its %post, keeping chroot busy)
see workaround https://bugzilla.redhat.com/show_bug.cgi?id=757818#c2

Alan



More information about the node-devel mailing list