Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- write_information "Selected configuration is workstation..."
- cat >> ${FILE} <<-KS_EOF
- # Generated by: generate_fedora_ks_cfg_file
- # Choosing mode (graphical|text|cmdline [--non-interactive])
- graphical
- # Configure installation method
- install
- url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-${FedoraVersion}&arch=x86_64"
- # Setup Agent on first boot
- firstboot --disable
- # Keyboard layouts
- keyboard --vckeymap=us --xlayouts='us'
- # System language
- lang en_US.UTF-8
- # System timezone
- timezone Europe/London --isUtc --ntpservers=0.pool.ntp.org
- # Network information
- network --onboot=yes --bootproto=dhcp
- # Root password
- rootpw $6$Rn5/UTzjIs68MX$9gz8vmshGlPqse3VoX8dzSfhWxRVoYv1MB6aGRD8xdvztOf.gD.SxxVWkxYrwwbShB9Q14flqu --iscrypted
- # User password
- user --groups=wheel --name=tangarora --password=$6$Rn5/UTzjIs68MX$9gz8vmshGlPqse3VoX8dzSfhWxRVoYv1MB6aGRD8xdvztOf --iscrypted
- # Partition clearing information
- zerombr
- clearpart --all
- # Disk partitioning information
- autopart --nohome --encrypted --passphrase letmein1234
- #Reboot the system after installation.
- reboot
- %packages --retries 5 --timeout 20
- @^workstation-product-environment
- openssh-server
- spice-vdagent
- git
- %end
- # Post-installation Script
- %post --interpreter=/bin/bash
- git clone https://github.com/vonschutter/RTD-Setup.git /opt/rtd
- chmod 755 /opt/rtd/core/rtd-oem-enable-config.sh
- bash /opt/rtd/core/rtd-oem-enable-config.sh
- %end
- KS_EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement