From 4e64b77835347dcb622e055bd11c3d0ae1fa9637 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 14 Apr 2015 16:50:30 -0500 Subject: [PATCH] Have debian-installer use ansible_user as well. Signed-off-by: Andrew Schoen --- roles/cobbler/templates/kickstarts/cephlab_trusty.preseed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/cobbler/templates/kickstarts/cephlab_trusty.preseed b/roles/cobbler/templates/kickstarts/cephlab_trusty.preseed index 7862e8a6..b19578c7 100755 --- a/roles/cobbler/templates/kickstarts/cephlab_trusty.preseed +++ b/roles/cobbler/templates/kickstarts/cephlab_trusty.preseed @@ -71,8 +71,8 @@ d-i grub-pc/install_devices multiselect /dev/sda #User account. d-i passwd/root-login boolean false d-i passwd/make-user boolean true -d-i passwd/user-fullname string ubuntu -d-i passwd/username string ubuntu +d-i passwd/user-fullname string {{ ansible_user }} +d-i passwd/username string {{ ansible_user }} d-i passwd/user-password-crypted password $default_password_crypted d-i passwd/user-uid string d-i user-setup/allow-password-weak boolean false -- 2.47.3