From f785c6e0d964d37665b5b350e9380acbcfbe7762 Mon Sep 17 00:00:00 2001 From: Adam Boardman Date: Mon, 4 Jan 2021 13:17:41 +0000 Subject: [PATCH] Starting of lxc or lxc-net causes the cosmo to reboot, so as this package brings in lxc attempt to disable it pre and post install just incase --- debian/postinst | 6 ++++++ debian/preinst | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 debian/postinst create mode 100644 debian/preinst diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..bced195 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,6 @@ +#!/bin/bash -e + +systemctl disable lxc +systemctl disable lxc-net + +exit 0 \ No newline at end of file diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 0000000..bced195 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,6 @@ +#!/bin/bash -e + +systemctl disable lxc +systemctl disable lxc-net + +exit 0 \ No newline at end of file