We know what the GUEST_PASSWORD will be, so set it during DomU
installation; therefore if the installation fails for any reason
we have a correct GUEST_PASSWORD set rather than the obscure and
undocumented 'r00tme'
Change-Id: I684646a74f2cede43667a40556e247955e042ae4
| ... | ... |
@@ -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 |
|