Index: /trunk/src/VBox/Main/UnattendedTemplates/debian_preseed.cfg
===================================================================
--- /trunk/src/VBox/Main/UnattendedTemplates/debian_preseed.cfg	(revision 68125)
+++ /trunk/src/VBox/Main/UnattendedTemplates/debian_preseed.cfg	(revision 68126)
@@ -13,5 +13,5 @@
 
 # Locale
-d-i debian-installer/locale string en_US
+d-i debian-installer/locale string @@VBOX_INSERT_LOCALE@@
 d-i console-setup/ask_detect boolean false
 d-i console-setup/layoutcode string us
@@ -19,6 +19,6 @@
 
 # Network
-d-i netcfg/get_hostname string ubuntu
-d-i netcfg/get_domain string virtualMachine
+d-i netcfg/get_hostname string @@VBOX_INSERT_HOSTNAME_WITHOUT_DOMAIN@@
+d-i netcfg/get_domain string @@VBOX_INSERT_HOSTNAME_DOMAIN@@
 d-i netcfg/choose_interface select auto
 
@@ -34,15 +34,16 @@
 d-i base-installer/kernel/override-image string linux-image-amd64
 ## @todo use nearest mirror somehow...
-# debug tip: Replace US with DE.
-d-i mirror/country string US
+d-i mirror/country string @@VBOX_INSERT_COUNTRY@@
+## @todo proxy fun...
 d-i mirror/http/proxy string
 d-i pkgsel/install-language-support boolean false
-# debug tip: disable the following for minimal install
+@@VBOX_COND_IS_NOT_MINIMAL_INSTALLATION@@
 d-i apt-setup/restricted boolean true
 d-i apt-setup/universe boolean true
-# debug tip: enable the following for minimal install
-#   tasksel tasksel/first multiselect minimal
-#   d-i pkgsel/include string openssh-server
-#   d-i pkgsel/upgrade select none
+@@VBOX_COND_END@@@@VBOX_COND_IS_MINIMAL_INSTALLATION@@
+tasksel tasksel/first multiselect minimal
+d-i pkgsel/include string openssh-server
+d-i pkgsel/upgrade select none
+@@VBOX_COND_END@@
 
 # Users
Index: /trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg
===================================================================
--- /trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg	(revision 68125)
+++ /trunk/src/VBox/Main/UnattendedTemplates/ubuntu_preseed.cfg	(revision 68126)
@@ -13,5 +13,5 @@
 
 # Locale
-d-i debian-installer/locale string en_US
+d-i debian-installer/locale string @@VBOX_INSERT_LOCALE@@
 d-i console-setup/ask_detect boolean false
 d-i console-setup/layoutcode string us
@@ -19,6 +19,6 @@
 
 # Network
-d-i netcfg/get_hostname string ubuntu
-d-i netcfg/get_domain string virtualMachine
+d-i netcfg/get_hostname string @@VBOX_INSERT_HOSTNAME_WITHOUT_DOMAIN@@
+d-i netcfg/get_domain string @@VBOX_INSERT_HOSTNAME_DOMAIN@@
 d-i netcfg/choose_interface select auto
 
@@ -33,6 +33,8 @@
 d-i base-installer/kernel/override-image string linux-server
 d-i base-installer/kernel/override-image string linux-image-amd64
-d-i mirror/country string US
+## @todo use nearest mirror somehow...
+d-i mirror/country string @@VBOX_INSERT_COUNTRY@@
 d-i mirror/http/proxy string
+## @todo minimal install.
 d-i apt-setup/restricted boolean true
 d-i apt-setup/universe boolean true
Index: /trunk/src/VBox/Main/idl/VirtualBox.xidl
===================================================================
--- /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 68125)
+++ /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 68126)
@@ -3767,5 +3767,5 @@
   <interface
     name="IUnattended" extends="$unknown"
-    uuid="68d72757-773b-4c13-9956-b5aa0a28e4a7"
+    uuid="da34bfb3-437a-4510-6c7e-7687b00d378d"
     wsmap="managed"
     reservedMethods="4" reservedAttributes="16"
@@ -3929,4 +3929,13 @@
         package specifiers.  Currently the 'minimal' is the only recognized value,
         and this only works with a selection of linux installers.
+      </desc>
+    </attribute>
+
+    <attribute name="hostname" type="wstring">
+      <desc>
+        The fully qualified guest hostname.
+
+        This defaults to machine-name + ".myguest.virtualbox.org", though it may
+        change to the host domain name later.
       </desc>
     </attribute>
