Hi,
i have a problem with autoinstall. The file does not seem to be read at all.
The system of the cobbler server:
CentOS Linux release 8.1.1911 (Core) 
The cobbler Version: 3.1.1

With that i try to install an ubuntu 18.04 with uefi. I do:

cobbler import --name=ubuntu --arch=x86_64 --path=/ubuntu-18.04.2
cobbler system add --name=ubuntu --profile=ubuntu-x86_64
cobbler system edit --name=ubuntu --interface=em1 --mac=4c:52:62:bb:b5:16 
--ip-address=192.168.1.235 --netmask=255.255.255.0 --static=false  
--autoinstall=ubuntu_desktop.ks --hostname=test01
cobbler sync

The i start the desktop computer test01. The installation process always stops 
at the
point asking me for the disk partiotions, no matter what i write into the 
autoinstall file.
Even when i write a letter soup into ths autoinstall file i do not get an 
error. The file is in
/var/lib/cobbler/templates/ubuntu_desktop.ks
I attached it.

The only this i see are the lines in cobbler.log:

2020-03-31T19:51:34 - INFO | REMOTE generate_autoinstall; user(?)
2020-03-31T19:51:34 - INFO | REMOTE generate_script, name is 
preseed_early_default; user(?)
2020-03-31T19:51:34 - INFO | generate_script

Do they have a meaning?

Thank you in advance for any hint.
With kind regards, ulrich

# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/toggle select No toggling
d-i keyboard-configuration/layoutcode string us
#d-i keyboard-configuration/layoutcode string de
d-i keyboard-configuration/variantcode string

d-i time/zone string CET/Berlin
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server  string ptbtime1.ptb.de

### Network configuration
d-i netcfg/choose_interface select auto
#d-i netcfg/choose_interface select enx3c18a051d7e2


# skip creation of a normal user account.
##d-i passwd/make-user boolean false

d-i  passwd/root-login                  boolean true
# or encrypted using an MD5 hash.
#d-i passwd/root-password-crypted password [MD5 hash]
# Generate MD5-hash: printf "RootPassword" | mkpasswd -s -m md5
d-i passwd/root-password-crypted password my_secret

# To create a normal user account.
d-i passwd/user-fullname string user1
d-i passwd/username string user1
# Normal user's password, either in clear text
##d-i passwd/user-password password insecure
##d-i passwd/user-password-again password insecure
# or encrypted using a crypt(3) hash.
#d-i passwd/user-password-crypted password [crypt(3) hash]
d-i passwd/user-password-crypted password another_secret
# Create the first user with the specified UID instead of the default.
d-i passwd/user-uid string 50000

# The installer will warn about weak passwords. If you are sure you know
# what you're doing and want to override it, uncomment this.

d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/alignment string "optimal"
d-i partman-auto-lvm/guided_size string max

d-i partman-efi/non_efi_system boolean true

d-i partman-basicfilesystems/choose_label string gpt
d-i partman-basicfilesystems/default_label string gpt
d-i partman-partitioning/choose_label string gpt
d-i partman-partitioning/default_label string gpt
d-i partman/choose_label string gpt
d-i partman/default_label string gpt

d-i partman-auto/expert_recipe string \
    boot-root :: \
        538 538 1075 free \
            $iflabel{ gpt } \
            $primary{ }  \
            $reusemethod{ } \
            method{ efi } \
            format{ } \
            . \
        128 100 256 ext3  \
            $defaultignore{ } \
            $primary{ } \
            method{ format } format{ } \
            use_filesystem{ } filesystem{ ext2 } \
            mountpoint{ /boot } \
            . \
        8192 8241 8192 linux-swap \
            $lvmok{ }  \
            lv_name{ swap } \
            method{ swap } format{ } \
            . \
        65536 65538 -1 ext4 \
            $lvmok{ }  \
            lv_name{ root } \
            method{ format } format{ } \
            use_filesystem{ } filesystem{ ext4 } \
            mountpoint{ / } \
            . \
        409600 409602 500600 ext4 \
            $lvmok{ }  \
            lv_name{ storage } \
            method{ format } format{ } \
            use_filesystem{ } filesystem{ ext4 } \
            mountpoint{ /storage } \
            .


# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note

Attachment: pEpkey.asc
Description: application/pgp-keys

_______________________________________________
cobbler mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]

Reply via email to