VirtualBox

Changeset 68126 in vbox


Ignore:
Timestamp:
Jul 26, 2017 3:52:17 PM (7 years ago)
Author:
vboxsync
Message:

Unatteded: Added hostname attribute. Updated debian and ubuntu templates to pick up new properties.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/UnattendedTemplates/debian_preseed.cfg

    r68114 r68126  
    1313
    1414# Locale
    15 d-i debian-installer/locale string en_US
     15d-i debian-installer/locale string @@VBOX_INSERT_LOCALE@@
    1616d-i console-setup/ask_detect boolean false
    1717d-i console-setup/layoutcode string us
     
    1919
    2020# Network
    21 d-i netcfg/get_hostname string ubuntu
    22 d-i netcfg/get_domain string virtualMachine
     21d-i netcfg/get_hostname string @@VBOX_INSERT_HOSTNAME_WITHOUT_DOMAIN@@
     22d-i netcfg/get_domain string @@VBOX_INSERT_HOSTNAME_DOMAIN@@
    2323d-i netcfg/choose_interface select auto
    2424
     
    3434d-i base-installer/kernel/override-image string linux-image-amd64
    3535## @todo use nearest mirror somehow...
    36 # debug tip: Replace US with DE.
    37 d-i mirror/country string US
     36d-i mirror/country string @@VBOX_INSERT_COUNTRY@@
     37## @todo proxy fun...
    3838d-i mirror/http/proxy string
    3939d-i pkgsel/install-language-support boolean false
    40 # debug tip: disable the following for minimal install
     40@@VBOX_COND_IS_NOT_MINIMAL_INSTALLATION@@
    4141d-i apt-setup/restricted boolean true
    4242d-i apt-setup/universe boolean true
    43 # debug tip: enable the following for minimal install
    44 #   tasksel tasksel/first multiselect minimal
    45 #   d-i pkgsel/include string openssh-server
    46 #   d-i pkgsel/upgrade select none
     43@@VBOX_COND_END@@@@VBOX_COND_IS_MINIMAL_INSTALLATION@@
     44tasksel tasksel/first multiselect minimal
     45d-i pkgsel/include string openssh-server
     46d-i pkgsel/upgrade select none
     47@@VBOX_COND_END@@
    4748
    4849# Users
  • trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg

    r68114 r68126  
    1313
    1414# Locale
    15 d-i debian-installer/locale string en_US
     15d-i debian-installer/locale string @@VBOX_INSERT_LOCALE@@
    1616d-i console-setup/ask_detect boolean false
    1717d-i console-setup/layoutcode string us
     
    1919
    2020# Network
    21 d-i netcfg/get_hostname string ubuntu
    22 d-i netcfg/get_domain string virtualMachine
     21d-i netcfg/get_hostname string @@VBOX_INSERT_HOSTNAME_WITHOUT_DOMAIN@@
     22d-i netcfg/get_domain string @@VBOX_INSERT_HOSTNAME_DOMAIN@@
    2323d-i netcfg/choose_interface select auto
    2424
     
    3333d-i base-installer/kernel/override-image string linux-server
    3434d-i base-installer/kernel/override-image string linux-image-amd64
    35 d-i mirror/country string US
     35## @todo use nearest mirror somehow...
     36d-i mirror/country string @@VBOX_INSERT_COUNTRY@@
    3637d-i mirror/http/proxy string
     38## @todo minimal install.
    3739d-i apt-setup/restricted boolean true
    3840d-i apt-setup/universe boolean true
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r68108 r68126  
    37673767  <interface
    37683768    name="IUnattended" extends="$unknown"
    3769     uuid="68d72757-773b-4c13-9956-b5aa0a28e4a7"
     3769    uuid="da34bfb3-437a-4510-6c7e-7687b00d378d"
    37703770    wsmap="managed"
    37713771    reservedMethods="4" reservedAttributes="16"
     
    39293929        package specifiers.  Currently the 'minimal' is the only recognized value,
    39303930        and this only works with a selection of linux installers.
     3931      </desc>
     3932    </attribute>
     3933
     3934    <attribute name="hostname" type="wstring">
     3935      <desc>
     3936        The fully qualified guest hostname.
     3937
     3938        This defaults to machine-name + ".myguest.virtualbox.org", though it may
     3939        change to the host domain name later.
    39313940      </desc>
    39323941    </attribute>
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