From 79a8c8e4215b5e666b618a1f61f79dc0a0131209 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 14 Apr 2015 13:10:36 +0000 Subject: Openstack: Add support to configure the network of the node Change-Id: I8f8bfb231ab5ff4c2a825451a57a5b38a641c300 Signed-off-by: Pedro Alvarez Signed-off-by: Richard Maw --- openstack/usr/lib/systemd/system/openvswitch-setup.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 openstack/usr/lib/systemd/system/openvswitch-setup.service (limited to 'openstack/usr/lib/systemd/system/openvswitch-setup.service') 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 -- cgit v1.2.1