[gnome-boxes] Set admin password in case of express installation



commit 98ec60677d5a5f17e84fb68dc7b24e59f74801ca
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Dec 8 16:45:22 2011 +0200

    Set admin password in case of express installation
    
    Use the same password as for the user.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=665803

 data/fedora.ks  |    2 +-
 data/win2k.sif  |    2 +-
 data/win2k.xml  |    4 ++--
 data/win2k3.sif |    2 +-
 data/win7.xml   |    4 ++--
 data/winxp.sif  |    2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/data/fedora.ks b/data/fedora.ks
index e54a5f5..1e7f076 100644
--- a/data/fedora.ks
+++ b/data/fedora.ks
@@ -2,7 +2,7 @@ install
 keyboard BOXES_KBD
 lang BOXES_LANG
 network --device eth0 --bootproto dhcp
-rootpw whatever
+rootpw BOXES_PASSWORD
 firewall --disabled
 authconfig --enableshadow --enablemd5
 selinux --enforcing
diff --git a/data/win2k.sif b/data/win2k.sif
index 07c859d..e4eb12f 100644
--- a/data/win2k.sif
+++ b/data/win2k.sif
@@ -14,7 +14,7 @@
     UnattendSwitch="Yes"
 
 [GuiUnattended]
-    AdminPassword=%ROOTPW%
+    AdminPassword=BOXES_PASSWORD
     AutoLogon=Yes
     AutoLogonCount=1
     OEMSkipRegional=1
diff --git a/data/win2k.xml b/data/win2k.xml
index d51c433..235a7aa 100644
--- a/data/win2k.xml
+++ b/data/win2k.xml
@@ -59,13 +59,13 @@
     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
       <UserAccounts>
 	<AdministratorPassword>
-	  <Value></Value>
+	  <Value>BOXES_PASSWORD</Value>
 	  <PlainText>true</PlainText>
 	</AdministratorPassword>
       </UserAccounts>
       <AutoLogon>
 	<Password>
-	  <Value></Value>
+	  <Value>BOXES_PASSWORD</Value>
 	  <PlainText>true</PlainText>
 	</Password>
 	<Enabled>true</Enabled>
diff --git a/data/win2k3.sif b/data/win2k3.sif
index 7eca671..3a7e864 100644
--- a/data/win2k3.sif
+++ b/data/win2k3.sif
@@ -14,7 +14,7 @@
     UnattendSwitch="Yes"
 
 [GuiUnattended]
-    AdminPassword="*"
+    AdminPassword="BOXES_PASSWORD"
     EncryptedAdminPassword=NO
     AutoLogon=Yes
     AutoLogonCount=1
diff --git a/data/win7.xml b/data/win7.xml
index 5c5e7e4..1218651 100644
--- a/data/win7.xml
+++ b/data/win7.xml
@@ -59,13 +59,13 @@
     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
       <UserAccounts>
 	<AdministratorPassword>
-	  <Value>whatever</Value>
+	  <Value>BOXES_PASSWORD</Value>
 	  <PlainText>true</PlainText>
 	</AdministratorPassword>
       </UserAccounts>
       <AutoLogon>
 	<Password>
-	  <Value>whatever</Value>
+	  <Value>BOXES_PASSWORD</Value>
 	  <PlainText>true</PlainText>
 	</Password>
 	<Enabled>true</Enabled>
diff --git a/data/winxp.sif b/data/winxp.sif
index 7eca671..3a7e864 100644
--- a/data/winxp.sif
+++ b/data/winxp.sif
@@ -14,7 +14,7 @@
     UnattendSwitch="Yes"
 
 [GuiUnattended]
-    AdminPassword="*"
+    AdminPassword="BOXES_PASSWORD"
     EncryptedAdminPassword=NO
     AutoLogon=Yes
     AutoLogonCount=1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]