diff --git a/debian/control b/debian/control index f467151..b5f6a12 100644 --- a/debian/control +++ b/debian/control @@ -7,8 +7,7 @@ Standards-Version: 3.9.2 Package: wit-hypervisor Architecture: all -Depends: ${misc:Depends}, frr (>= 4.0-wit), sed, tcpdump, mtr-tiny, iproute2, ifupdown, ipmitool, iptables, lldpd, strongswan, telnet, netcat, fping, curl, wget, ifstat, rsyslog, ncurses-term, net-tools, bridge-utils, vlan, gnupg +Depends: ${misc:Depends}, frr (>= 4.0-wit), sed, tcpdump, mtr-tiny, iproute2, ifupdown, ipmitool, iptables, lldpd, strongswan, telnet, netcat, fping, curl, wget, ifstat, rsyslog, ncurses-term, net-tools, bridge-utils, vlan, gnupg, sudo, isc-dhcp-client Provides: ${diverted-files} Conflicts: ${diverted-files} -Description: Installs basic network packages and - configures the box as hypervisor or datanode. +Description: configure this box as wit hypervisor/datanode diff --git a/debian/wit-hypervisor.postinst b/debian/wit-hypervisor.postinst index 934b24f..ffc9432 100755 --- a/debian/wit-hypervisor.postinst +++ b/debian/wit-hypervisor.postinst @@ -107,13 +107,6 @@ case "$1" in ## START configuring services as we need it - systemctl stop systemd-networkd.socket - systemctl stop systemd-networkd.service - systemctl stop systemd-networkd-wait-online - systemctl disable systemd-networkd.service - systemctl disable systemd-networkd.socket - systemctl disable systemd-networkd-wait-online - systemctl enable firewall systemctl restart systemd-timesyncd systemctl restart strongswan diff --git a/debian/wit-hypervisor.preinst b/debian/wit-hypervisor.preinst index 4f1aad4..8d116d0 100755 --- a/debian/wit-hypervisor.preinst +++ b/debian/wit-hypervisor.preinst @@ -16,6 +16,12 @@ set -e case "$1" in install|upgrade) + systemctl stop systemd-networkd.socket + systemctl stop systemd-networkd.service + systemctl stop systemd-networkd-wait-online + systemctl disable systemd-networkd.service + systemctl disable systemd-networkd.socket + systemctl disable systemd-networkd-wait-online ;; abort-upgrade)