VirtualBox

Ignore:
Timestamp:
Mar 1, 2021 9:01:12 AM (4 years ago)
Author:
vboxsync
Message:

pr9907. Added package cloud-init into the unattended templates. Added EPEL repository into RHEL and OL unattended post-installation templates.

Location:
trunk/src/VBox/Main/UnattendedTemplates
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/UnattendedTemplates/debian_postinstall.sh

    r85609 r87895  
    205205
    206206#
     207#Package cloud-init is needed for possible automation the initial setup of virtual machine
     208#
     209log_command_in_target apt-get -y install cloud-init
     210log_command_in_target systemctl enable cloud-init-local.service
     211log_command_in_target systemctl enable cloud-init.service
     212log_command_in_target systemctl enable cloud-config.service
     213log_command_in_target systemctl enable cloud-final.service
     214
     215
     216#
    207217# GAs
    208218#
  • trunk/src/VBox/Main/UnattendedTemplates/ol_ks.cfg

    r86659 r87895  
    9090perl
    9191
     92#Package cloud-init is needed for possible automation the initial setup of virtual machine
     93cloud-init
     94
    9295%end
    9396
  • trunk/src/VBox/Main/UnattendedTemplates/ol_postinstall.sh

    r86659 r87895  
    175175EPEL_REPOSITORY="https://dl.fedoraproject.org/pub/epel/epel-release-latest-${GUEST_MAJOR_VERSION}.noarch.rpm"
    176176log_command_in_target wget ${EPEL_REPOSITORY}
     177log_command_in_target yum localinstall -y "epel-release-latest-${GUEST_MAJOR_VERSION}.noarch.rpm"
    177178log_command_in_target rpm -q "oraclelinux-release-el${GUEST_MAJOR_VERSION}"
    178179log_command_in_target yum install -y yum-utils
    179180log_command_in_target yum-config-manager --enable epel
    180 log_command_in_target yum localinstall -y "epel-release-latest-${GUEST_MAJOR_VERSION}.noarch.rpm"
    181181
    182182
     
    209209log_command_in_target yum -y install bzip2
    210210log_command_in_target yum -y install perl
     211
     212
     213#
     214#Package cloud-init is needed for possible automation the initial setup of virtual machine
     215#
     216log_command_in_target yum -y install cloud-init
     217log_command_in_target systemctl enable cloud-init-local.service
     218log_command_in_target systemctl enable cloud-init.service
     219log_command_in_target systemctl enable cloud-config.service
     220log_command_in_target systemctl enable cloud-final.service
     221
    211222
    212223#
  • trunk/src/VBox/Main/UnattendedTemplates/redhat67_ks.cfg

    r86659 r87895  
    9090perl
    9191
     92#Package cloud-init is needed for possible automation the initial setup of virtual machine
     93cloud-init
     94
    9295%end
    9396
  • trunk/src/VBox/Main/UnattendedTemplates/redhat_postinstall.sh

    r86659 r87895  
    2828MY_EXITCODE=0
    2929MY_DEBUG="" # "yes"
     30GUEST_VERSION=@@VBOX_INSERT_GUEST_OS_VERSION@@
     31GUEST_MAJOR_VERSION=@@VBOX_INSERT_GUEST_OS_MAJOR_VERSION@@
    3032
    3133@@VBOX_COND_HAS_PROXY@@
     
    169171
    170172#
     173# Add EPEL repository
     174#
     175EPEL_REPOSITORY="https://dl.fedoraproject.org/pub/epel/epel-release-latest-${GUEST_MAJOR_VERSION}.noarch.rpm"
     176log_command_in_target wget ${EPEL_REPOSITORY}
     177log_command_in_target yum localinstall -y "epel-release-latest-${GUEST_MAJOR_VERSION}.noarch.rpm"
     178log_command_in_target yum install -y yum-utils
     179log_command_in_target yum-config-manager --enable epel
     180
     181
     182#
    171183# Packages needed for GAs.
    172184#
     
    185197log_command_in_target yum -y install bzip2
    186198log_command_in_target yum -y install perl
     199
     200
     201#
     202#Package cloud-init is needed for possible automation the initial setup of virtual machine
     203#
     204log_command_in_target yum -y install cloud-init
     205log_command_in_target systemctl enable cloud-init-local.service
     206log_command_in_target systemctl enable cloud-init.service
     207log_command_in_target systemctl enable cloud-config.service
     208log_command_in_target systemctl enable cloud-final.service
     209
    187210
    188211#
  • trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg

    r79610 r87895  
    4848# Stuff we need to build additions modules:
    4949d-i pkgsel/include string build-essential linux-headers-generic perl make
     50# Package cloud-init is needed for possible automation the initial setup of virtual machine
     51d-i pkgsel/include cloud-init
    5052
    5153# Users
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette