VirtualBox

Changeset 102403 in vbox


Ignore:
Timestamp:
Nov 30, 2023 3:47:44 PM (12 months ago)
Author:
vboxsync
Message:

Main/Unattended: Added proxy and installing Guest Additions support to ubuntu_autoinstall_user. bugref:10551

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/UnattendedTemplates/ubuntu_autoinstall_user_data

    r102342 r102403  
    2222      size: 0
    2323
     24@@VBOX_COND_HAS_PROXY@@
     25  proxy: @@VBOX_INSERT_PROXY@@
     26@@VBOX_COND_END@@
     27
     28@@VBOX_COND_IS_INSTALLING_ADDITIONS@@
     29  # Stuff we need to build Guest Additions modules.
     30  packages:
     31    - build-essential
     32    - linux-headers-generic
     33    - perl
     34    - make
     35@@VBOX_COND_END@@
     36
     37  # Custom Commands.
     38  late-commands:
     39    - cp /cdrom/vboxpostinstall.sh /target/root/vboxpostinstall.sh
     40    - chmod +x /target/root/vboxpostinstall.sh
     41    - curtin in-target --target=/target -- /bin/bash /root/vboxpostinstall.sh --direct
     42
     43  # Additional cloud-init configuration affecting the target system can be supplied
     44  # underneath a user-data section inside of autoinstall.
    2445  user-data:
     46
     47    users:
     48      - name: root
     49        primary_group: root
     50        groups: sudo
     51        lock-passwd: false
     52        passwd: '@@VBOX_INSERT_USER_PASSWORD_SHACRYPT512@@'
     53        uid: 0
     54
    2555@@VBOX_COND_IS_RTC_USING_UTC@@
    2656    timezone: Etc/UTC
     
    2959    timezone: @@VBOX_INSERT_TIME_ZONE_UX@@
    3060@@VBOX_COND_END@@
    31   users:
    32     - name: root
    33       primary_group: root
    34       groups: sudo
    35       lock-passwd: false
    36       passwd: '@@VBOX_INSERT_USER_PASSWORD_SHACRYPT512@@'
    37       uid: 0
     61
     62    ntp:
     63@@VBOX_COND_IS_INSTALLING_ADDITIONS@@
     64        enabled: false
     65@@VBOX_COND_END@@
     66@@VBOX_COND_IS_NOT_INSTALLING_ADDITIONS@@
     67        enabled: true
     68@@VBOX_COND_END@@
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