The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / src / etc / init.d / cirros-ds-net
diff --git a/cirros-testvm/src-cirros/src/etc/init.d/cirros-ds-net b/cirros-testvm/src-cirros/src/etc/init.d/cirros-ds-net
new file mode 100755 (executable)
index 0000000..a0e32ce
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case "$1" in
+       start)
+               mode=$(cirros-query dsmode >/dev/null 2>&1) && exit 0
+               cirros-ds net || :;;
+       stop) :;;
+       *) echo "unknown argument ${1}" 1>&2;;
+esac
+
+# vi: ts=4 noexpandtab