Employ a startup script

This commit is contained in:
Michael Vines
2018-09-04 08:34:39 -07:00
parent 6ffe205447
commit 9365a47d42
4 changed files with 31 additions and 29 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
#
# Runs at boot on each instance as root
#
# TODO: Make the following a requirement of the Instance image
# instead of a manual install?
systemctl disable apt-daily.service # disable run when system boot
systemctl disable apt-daily.timer # disable timer run
apt-get --assume-yes install rsync libssl-dev