From 1b3d1fb2d2c2e983bbc80b398869cac9851b6b67 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Sat, 29 Jul 2017 11:41:35 +0800 Subject: Configurate moon host 1. configurate network 2. change the apt sources.list Change-Id: I93336d48b02846192f47eb1d64a63b50190863e9 Signed-off-by: wutianwei --- plugins/moon/roles/moon/templates/ifcfg-br-storage | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 plugins/moon/roles/moon/templates/ifcfg-br-storage (limited to 'plugins/moon/roles/moon/templates/ifcfg-br-storage') diff --git a/plugins/moon/roles/moon/templates/ifcfg-br-storage b/plugins/moon/roles/moon/templates/ifcfg-br-storage new file mode 100755 index 00000000..3c1db126 --- /dev/null +++ b/plugins/moon/roles/moon/templates/ifcfg-br-storage @@ -0,0 +1,8 @@ +DEVICE=br-storage +TYPE=Bridge +IPADDR={{ ip_settings[inventory_hostname]["storage"]["ip"] }} +NETMASK=255.255.255.0 +BOOTPROTO=none +DEFROUTE="no" +ONBOOT=yes +DELAY=0 -- cgit 1.2.3-korg