Index: /trunk/src/VBox/Frontends/VBoxManage/VBoxManageCloud.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VBoxManage/VBoxManageCloud.cpp	(revision 84643)
+++ /trunk/src/VBox/Frontends/VBoxManage/VBoxManageCloud.cpp	(revision 84644)
@@ -2122,5 +2122,5 @@
 }
 
-static HRESULT createLocalGatewayImage(ComPtr<IVirtualBox> virtualBox, const Bstr& aGatewayIso, const Bstr& aGuestAdditionsIso)
+static HRESULT createLocalGatewayImage(ComPtr<IVirtualBox> virtualBox, const Bstr& aGatewayIso, const Bstr& aGuestAdditionsIso, const Bstr& aProxy)
 {
     /* Check if the image already exists. */
@@ -2294,4 +2294,10 @@
         return hrc;
 
+    if (aProxy.isNotEmpty())
+    {
+        hrc = unattended->COMSETTER(ExtraInstallKernelParameters)(BstrFmt(" ks=cdrom:/ks.cfg proxy=\"%ls\"", aProxy.raw()).raw());
+        if (errorOccured(hrc, "Failed to set post install script template for the unattended installer."))
+            return hrc;
+    }
     hrc = unattended->Prepare();
     if (errorOccured(hrc, "Failed to prepare unattended installation."))
@@ -2457,5 +2463,6 @@
         { "--tunnel-network-range", 'r', RTGETOPT_REQ_STRING },
         { "--guest-additions-iso",  'a', RTGETOPT_REQ_STRING },
-        { "--local-gateway-iso",    'l', RTGETOPT_REQ_STRING }
+        { "--local-gateway-iso",    'l', RTGETOPT_REQ_STRING },
+        { "--proxy",                'p', RTGETOPT_REQ_STRING }
     };
     RTGETOPTSTATE GetState;
@@ -2471,4 +2478,5 @@
     Bstr strLocalGatewayIso;
     Bstr strGuestAdditionsIso;
+    Bstr strProxy;
 
     int c;
@@ -2497,4 +2505,7 @@
             case 'a':
                 strGuestAdditionsIso=ValueUnion.psz;
+                break;
+            case 'p':
+                strProxy=ValueUnion.psz;
                 break;
             case VINF_GETOPT_NOT_OPTION:
@@ -2515,5 +2526,5 @@
     ComPtr<IVirtualBox> pVirtualBox = a->virtualBox;
 
-    hrc = createLocalGatewayImage(pVirtualBox, strLocalGatewayIso, strGuestAdditionsIso);
+    hrc = createLocalGatewayImage(pVirtualBox, strLocalGatewayIso, strGuestAdditionsIso, strProxy);
     if (FAILED(hrc))
         return RTEXITCODE_FAILURE;
