Browse code

Merge "XenAPI: Use GUEST_PASSWORD when installing DomU"

Jenkins authored on 2014/07/22 09:42:47
Showing 1 changed files
... ...
@@ -207,6 +207,8 @@ if [ -z "$templateuuid" ]; then
207 207
             -e "s,\(d-i mirror/http/hostname string\).*,\1 $UBUNTU_INST_HTTP_HOSTNAME,g" \
208 208
             -e "s,\(d-i mirror/http/directory string\).*,\1 $UBUNTU_INST_HTTP_DIRECTORY,g" \
209 209
             -e "s,\(d-i mirror/http/proxy string\).*,\1 $UBUNTU_INST_HTTP_PROXY,g" \
210
+            -e "s,\(d-i passwd/root-password password\).*,\1 $GUEST_PASSWORD,g" \
211
+            -e "s,\(d-i passwd/root-password-again password\).*,\1 $GUEST_PASSWORD,g" \
210 212
             -i "${HTTP_SERVER_LOCATION}/devstackubuntupreseed.cfg"
211 213
     fi
212 214