diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-04-14 13:10:36 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-04-16 16:26:38 +0000 |
commit | 79a8c8e4215b5e666b618a1f61f79dc0a0131209 (patch) | |
tree | 7048a9f7e34dcffd579fa6654c17d3b29fcf8be7 /openstack/usr/lib/systemd/system/openvswitch-setup.service | |
parent | 7a7c07591f05aeb124d229794c04bd933859c61a (diff) | |
download | definitions-79a8c8e4215b5e666b618a1f61f79dc0a0131209.tar.gz |
Openstack: Add support to configure the network of the node
Change-Id: I8f8bfb231ab5ff4c2a825451a57a5b38a641c300
Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Signed-off-by: Richard Maw <richard.maw@codethink.co.uk>
Diffstat (limited to 'openstack/usr/lib/systemd/system/openvswitch-setup.service')
-rw-r--r-- | openstack/usr/lib/systemd/system/openvswitch-setup.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openvswitch-setup.service b/openstack/usr/lib/systemd/system/openvswitch-setup.service new file mode 100644 index 00000000..6fdd7db6 --- /dev/null +++ b/openstack/usr/lib/systemd/system/openvswitch-setup.service @@ -0,0 +1,10 @@ +[Unit] +Description=Run openvswitch-setup Ansible scripts +After=local-fs.target + +[Service] +Type=oneshot +ExecStart=/usr/bin/ansible-playbook -v -i /usr/share/openstack/hosts /usr/share/openstack/openvswitch.yml + +[Install] +WantedBy=multi-user.target |