Skip to content

Instantly share code, notes, and snippets.

@danehans
Created March 20, 2015 17:06
Show Gist options
  • Save danehans/5645ad70cc001256742a to your computer and use it in GitHub Desktop.
Save danehans/5645ad70cc001256742a to your computer and use it in GitHub Desktop.
# cat compose/nova-compute-network.yml
libvirt:
image: kollaglue/centos-rdo-nova-libvirt
name: libvirt
net: host
pid: host
privileged: true
restart: always
env_file:
- openstack.env
volumes:
- /run:/run
- /sys/fs/cgroup:/sys/fs/cgroup
- /var/lib/nova:/var/lib/nova
- /var/lib/libvirt:/var/lib/libvirt
- /etc/libvirt/qemu:/etc/libvirt/qemu
- /etc/libvirt/nwfilter:/etc/libvirt/nwfilter
novanetwork:
image: kollaglue/centos-rdo-nova-network
name: nova-network
net: host
privileged: true
restart: always
env_file:
- openstack.env
volumes:
- /run:/run
- /sys/fs/cgroup:/sys/fs/cgroup
- /var/lib/nova:/var/lib/nova
- /var/lib/libvirt:/var/lib/libvirt
- /etc/libvirt/nwfilter:/etc/libvirt/nwfilter
novacompute:
image: kollaglue/centos-rdo-nova-compute
name: nova-compute
net: host
privileged: true
restart: always
env_file:
- openstack.env
volumes:
- /run:/run
- /sys/fs/cgroup:/sys/fs/cgroup
- /var/lib/nova:/var/lib/nova
- /var/lib/libvirt:/var/lib/libvirt
- /etc/libvirt/qemu:/etc/libvirt/qemu
- /etc/libvirt/nwfilter:/etc/libvirt/nwfilter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment