From 6177aff8bfcffb9ae0d7d01e0a3a3a57ef9298df Mon Sep 17 00:00:00 2001 From: Michael Trip Date: Tue, 18 Feb 2020 11:05:05 +0100 Subject: [PATCH] changed update script --- vm-firstrun.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vm-firstrun.sh b/vm-firstrun.sh index 1b53e78..3589f53 100644 --- a/vm-firstrun.sh +++ b/vm-firstrun.sh @@ -68,6 +68,11 @@ else log "rootfs disk not found, unable to expand: ${CFG_ROOTFS_DISK}" fi +#Run update to get the latest packages +log "Updating latest packages" +yum update -y +log "updating done" + log "initial config done, disabling myself" systemctl disable "${CFG_SERVICE_NAME}"