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}"