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

This commit is contained in:
Adam Boardman 2021-01-04 13:17:41 +00:00
parent 424b08f954
commit f785c6e0d9
2 changed files with 12 additions and 0 deletions

6
debian/postinst vendored Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash -e
systemctl disable lxc
systemctl disable lxc-net
exit 0

6
debian/preinst vendored Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash -e
systemctl disable lxc
systemctl disable lxc-net
exit 0