add --selinux-relabel option when creating instack image

This commit is contained in:
Richard Su 2014-04-17 16:27:29 -07:00
parent f26986c673
commit 871a7d8693

View File

@ -22,6 +22,7 @@ virt-builder fedora-20 $UNDERCLOUD_PASSWORD_ARG \
--format qcow2 \
-o $UNDERCLOUD_VM_NAME.qcow2 \
--install net-tools,yum-utils,git \
--selinux-relabel \
--firstboot-command \
'useradd -m -G wheel -p "" stack ; echo "stack:stack" | chpasswd' \
--firstboot-command \