[gnome-boxes] Add user account in case of win7/2k8 express install



commit 195c33b7e192c56e5ba76a3eac4f49b0cf9573c2
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Dec 8 17:45:51 2011 +0200

    Add user account in case of win7/2k8 express install
    
    https://bugzilla.gnome.org/show_bug.cgi?id=665803

 data/win2k.xml |   13 ++++++++++++-
 data/win7.xml  |   13 ++++++++++++-
 2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/data/win2k.xml b/data/win2k.xml
index 235a7aa..9248340 100644
--- a/data/win2k.xml
+++ b/data/win2k.xml
@@ -62,6 +62,17 @@
 	  <Value>BOXES_PASSWORD</Value>
 	  <PlainText>true</PlainText>
 	</AdministratorPassword>
+        <LocalAccounts>
+          <LocalAccount wcm:action="add">
+            <Password>
+              <Value>BOXES_PASSWORD</Value>
+              <PlainText>true</PlainText>
+            </Password>
+            <Description>BOXES_USERNAME</Description>
+            <DisplayName>BOXES_USERNAME</DisplayName>
+            <Group>Administrators;Power Users</Group>
+            <Name>BOXES_USERNAME</Name>
+        </LocalAccount>
       </UserAccounts>
       <AutoLogon>
 	<Password>
@@ -70,7 +81,7 @@
 	</Password>
 	<Enabled>true</Enabled>
 	<LogonCount>5</LogonCount>
-	<Username>Administrator</Username>
+	<Username>BOXES_USERNAME</Username>
       </AutoLogon>
       <RegisteredOwner/>
       <OOBE>
diff --git a/data/win7.xml b/data/win7.xml
index 1218651..6bf6180 100644
--- a/data/win7.xml
+++ b/data/win7.xml
@@ -62,6 +62,17 @@
 	  <Value>BOXES_PASSWORD</Value>
 	  <PlainText>true</PlainText>
 	</AdministratorPassword>
+        <LocalAccounts>
+          <LocalAccount wcm:action="add">
+            <Password>
+              <Value>BOXES_PASSWORD</Value>
+              <PlainText>true</PlainText>
+            </Password>
+            <Description>BOXES_USERNAME</Description>
+            <DisplayName>BOXES_USERNAME</DisplayName>
+            <Group>Administrators;Power Users</Group>
+            <Name>BOXES_USERNAME</Name>
+        </LocalAccount>
       </UserAccounts>
       <AutoLogon>
 	<Password>
@@ -70,7 +81,7 @@
 	</Password>
 	<Enabled>true</Enabled>
 	<LogonCount>5</LogonCount>
-	<Username>Administrator</Username>
+	<Username>BOXES_USERNAME</Username>
       </AutoLogon>
       <OOBE>
 	<NetworkLocation>Work</NetworkLocation>



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