Skip to content

Instantly share code, notes, and snippets.

@mihgen
Created May 18, 2011 12:33
Show Gist options
  • Select an option

  • Save mihgen/978494 to your computer and use it in GitHub Desktop.

Select an option

Save mihgen/978494 to your computer and use it in GitHub Desktop.
Middle part for kickstart
/usr/bin/yum -y install fedora-release-rawhide
/bin/rpm -i http://download.mirantis.com/repo/noarch/openstack-repo-2011.3-1.noarch.rpm
/usr/bin/yum -y install nova-node-compute
/usr/bin/yum -y --disablerepo=* --enablerepo=rawhide install qemu libvirt
cat >> /etc/libvirt/libvirtd.conf << EOF
# Enable "nova" user write to libvirt unix socket
unix_sock_group = "nova"
unix_sock_rw_perms = "0770"
auth_unix_rw = "none"
# Support live migration
listen_tls = 0
listen_tcp = 1
auth_tcp = "none"
EOF
echo 'LIBVIRTD_ARGS="--listen"' >> /etc/sysconfig/libvirtd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment