[node-devel] 回复:Re: Ovirt node-imge build error

老臭 hypervisor at qq.com
Tue Nov 29 12:08:24 UTC 2011


thank you for information,i'll try that.

---原始邮件---
发件人:"Alan Pevec"<apevec at gmail.com>
发送时间:2011年11月29日 星期二 下午6:59
收件人:"node-devel"<node-devel at ovirt.org>
主题:Re: [node-devel] Ovirt node-imge build error
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
_______________________________________________
node-devel mailing list
node-devel at ovirt.org
http://lists.ovirt.org/mailman/listinfo/node-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/node-devel/attachments/20111129/7525d5a5/attachment.html>


More information about the node-devel mailing list