Commit Graph

49 Commits

Author SHA1 Message Date
Sergey Bubnov (omg)
d89c7ab77e prevent wrong behaviour when more than one dhcp on interfaces
firts we check that the VM has already get some IP address
and if so we just deploy as usual. If VM have no IP address
on any interface we throw all interfaces except first (eth0) to
the `empty vlan` that have no DHCP server enabled. VLAD ID defined
in environment variable. After network configuration inside VM we
restore propper VLAN IDs on all interfaces. This approach should help
in situations when DHCP available on more than one interfaces and those
interfaces configured as dhcp-clients, thus more than one default gw
will be configured with some metrics and all traffic will be routed
to the right one or will be not.
2019-06-27 13:21:48 +04:00
Sergey Bubnov (omg)
d0893b87df fix key distribution in bind role 2019-06-27 13:11:40 +04:00
Sergey Bubnov (omg)
d5bf5d23f8 fix default(omit) behaviour 2019-06-26 17:54:02 +04:00
Sergey Bubnov (omg)
2fa7099cbb omit nameserver when undefined 2019-06-26 16:53:24 +04:00
Sergey Bubnov (omg)
aad9337422 omit searchdomain when undefined 2019-06-26 16:45:24 +04:00
Sergey Bubnov (omg)
7913775562 new bind configuration fix 2019-06-26 16:40:14 +04:00
Sergey Bubnov (omg)
b242e30184 support for cloud-init on pve 2019-06-26 16:20:56 +04:00
b3f53c4c5e
[ODDJOB-18] Disable 'vagrant' user
We have boxes built for both Vagrant and testing purposes. We don't
need 'vagrant' user when performing tests so this step deletes this
user completely from the VM.
2019-06-24 16:03:41 +04:00
Sergey Bubnov
101b41e462 configure PBR after interfaces has come back 2019-06-05 11:10:05 +04:00
Sergey Bubnov
e6eb7015fe check for ip rules existence 2019-06-05 10:41:52 +04:00
Sergey Bubnov
02982f4b66 configure pbr after alterator`s commit 2019-06-04 20:39:17 +04:00
Sergey Bubnov
c7c3317689 use etcnet to configure PBR 2019-06-04 20:23:15 +04:00
Sergey Bubnov
0c285e5bff do not add default gw on priv nics 2019-06-04 18:50:36 +04:00
Sergey Bubnov
d8ce4d57bb fix PBR definitions 2019-06-04 17:46:38 +04:00
Sergey Bubnov
23885617af define PBR when nics count more than one 2019-06-04 16:55:09 +04:00
Sergey Bubnov
59f214ffd7 Revert "disable rp_filter on all interfaces"
It's useless on client workstations
2019-06-04 15:19:19 +04:00
Sergey Bubnov
6caf9144d7 disable rp_filter on all interfaces 2019-06-04 14:18:34 +04:00
Sergey Bubnov
e63dc2e79c force stop the VM 2019-05-25 15:05:52 +04:00
Sergey Bubnov
ed5f51053f fix apt and rpm upgrade 2019-05-24 19:30:49 +04:00
Sergey Bubnov
f6386f555b dist-upgrade all nodes 2019-05-24 16:06:30 +04:00
Sergey Bubnov
247db72ed8 set hostane and domainname via alterator computer_name 2018-11-21 12:18:02 +04:00
Sergey Bubnov
63f42eb419 add opennebula role as a submodule 2018-11-14 11:46:37 +04:00
Sergey Bubnov
63c6f80fb3 check tasks list length 2018-11-08 11:43:45 +04:00
Sergey Bubnov
0ce23b4f80 use yes in apt-get install 2018-11-07 17:42:57 +04:00
Sergey Bubnov
529e09583b update packages in case of tasks is defined 2018-11-07 17:27:30 +04:00
Sergey Bubnov
d3610fdb95 use multiline shell command 2018-11-07 13:46:32 +04:00
Sergey Bubnov
2f018f4698 restart network right after alterator commit 2018-11-07 13:38:33 +04:00
Sergey Bubnov
8f3b1f124d just for test 2018-11-07 13:22:14 +04:00
Sergey Bubnov
3835aa7df7 restart network after NICs configguration 2018-11-07 13:07:09 +04:00
Sergey Bubnov
45e6733f42 add controlled option to the alterator-net 2018-11-07 12:56:34 +04:00
Sergey Bubnov
b7cffc4a37 rollback alterator hacks 2018-11-07 12:22:21 +04:00
Sergey Bubnov
7908e77de1 force enable interfaces 2018-11-07 10:05:43 +04:00
Sergey Bubnov
94994cbad7 use disabled=no in alterator configuration 2018-11-06 18:39:30 +04:00
Sergey Bubnov
30c4e22485 use quoted brackets 2018-11-06 17:50:39 +04:00
Sergey Bubnov
72ec2e8c6d use single quotes 2018-11-06 17:47:36 +04:00
Sergey Bubnov
ca37dcc7dc use ALT white magic 2018-11-06 17:42:14 +04:00
Sergey Bubnov
2a608a66ed update packages list before install 2018-11-06 17:37:40 +04:00
Sergey Bubnov
fe1c33f58d remove when statement 2018-11-06 17:35:30 +04:00
Sergey Bubnov
fed1ce1907 set apt-get path 2018-11-06 17:21:43 +04:00
Sergey Bubnov
93a9e01551 install python distutils in case of sisyphus 2018-11-06 17:18:54 +04:00
Sergey Bubnov
ee8426ea6b remove noisy debug output 2018-11-02 01:07:07 +04:00
Sergey Bubnov
e0b18651e4 increase timeout for pve destroy VM 2018-11-02 00:52:33 +04:00
Sergey Bubnov
22af0daf5b use fqdn in known_hosts 2018-11-02 00:18:51 +04:00
Sergey Bubnov
d990db6f83 cleanup 2018-11-02 00:18:51 +04:00
Sergey Bubnov
b48532e328 fetch ed25519 host keys 2018-11-02 00:18:51 +04:00
Sergey Bubnov
f488c28603 add new role submodule sssd-adgpo-test 2018-11-01 13:52:11 +04:00
Sergey Bubnov
bbf8824b00 content must be decoded from base64 2018-10-25 17:12:19 +04:00
Sergey Bubnov
2aa42dc193 gather remote ssh host keys 2018-10-25 16:04:17 +04:00
Sergey Bubnov
abbd377dce inial public version 2018-10-02 10:16:46 +04:00