Commit Graph

8 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)
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)
b242e30184 support for cloud-init on pve 2019-06-26 16:20:56 +04:00
Sergey Bubnov
e63dc2e79c force stop the VM 2019-05-25 15:05:52 +04:00
Sergey Bubnov
e0b18651e4 increase timeout for pve destroy VM 2018-11-02 00:52:33 +04:00
Sergey Bubnov
abbd377dce inial public version 2018-10-02 10:16:46 +04:00