[Ovirt-devel] Re: [PATCH node-image] Changed packages and dependencies so virt-manager-tui runs properly.

Alan Pevec apevec at redhat.com
Mon Sep 14 21:13:06 UTC 2009


Darryl L. Pierce wrote:
> -kvm
qemu-system-x86 has Provides: kvm so just "kvm" in the package list should work

> +qemu
qemu RPM installs all qemu-system* packages, which we don't need on the node.

> +qemu-kvm

> --selinux-policy-targeted
> +selinux-policy-targeted

please keep -minimum only, verified that it works on F11

> +python-setuptools
Isn't this BR only? Why is it need in the image?

> --- a/common-post.ks
> +++ b/common-post.ks
> +
> +# add nodeadmin as a valid shell
> +cat >> /etc/shells <<EOF
> +/usr/bin/nodeadmin
> +EOF
> +
> +chsh -s /usr/bin/nodeadmin root

I got this in the image build log:
chsh: unconfined_u:unconfined_r:livecd_t:s0-s0:c0.c1023 is not authorized to change the shell of root
You could use augeas instead:
-chsh -s /usr/bin/nodeadmin root
+augtool <<\EOF
+set /files/etc/passwd/root/shell /usr/bin/nodeadmin
+save
+EOF




More information about the ovirt-devel mailing list