|
@@ -295,7 +295,10 @@ if [ "$DEBI_SKIP_USER" != true ]; then
|
|
|
EOF
|
|
EOF
|
|
|
|
|
|
|
|
if [ "$DEBI_USERNAME" = root ]; then
|
|
if [ "$DEBI_USERNAME" = root ]; then
|
|
|
- echo 'd-i passwd/make-user boolean false' | $save_preseed
|
|
|
|
|
|
|
+ $save_preseed << EOF
|
|
|
|
|
+d-i passwd/root-login boolean true
|
|
|
|
|
+d-i passwd/make-user boolean false
|
|
|
|
|
+EOF
|
|
|
if [ "$DEBI_CLEARTEXT" = true ]; then
|
|
if [ "$DEBI_CLEARTEXT" = true ]; then
|
|
|
$save_preseed << EOF
|
|
$save_preseed << EOF
|
|
|
d-i passwd/root-password password $DEBI_PASSWORD
|
|
d-i passwd/root-password password $DEBI_PASSWORD
|
|
@@ -307,6 +310,7 @@ EOF
|
|
|
else
|
|
else
|
|
|
$save_preseed << EOF
|
|
$save_preseed << EOF
|
|
|
d-i passwd/root-login boolean false
|
|
d-i passwd/root-login boolean false
|
|
|
|
|
+d-i passwd/make-user boolean true
|
|
|
d-i passwd/user-fullname string
|
|
d-i passwd/user-fullname string
|
|
|
d-i passwd/username string $DEBI_USERNAME
|
|
d-i passwd/username string $DEBI_USERNAME
|
|
|
EOF
|
|
EOF
|