# Rocky touchless custom iso Creation - Rocky 9.1

**URL:** <https://forums.rockylinux.org/t/rocky-touchless-custom-iso-creation-rocky-9-1/10702>\
**Category:** Rocky Linux Help & Support\
**Created:** [July 14, 2023, 11:42am UTC](https://forums.rockylinux.org/t/rocky-touchless-custom-iso-creation-rocky-9-1/10702 "2023-07-14T11:42:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanalsanz](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@sanalsanz](https://forums.rockylinux.org/u/sanalsanz)\
**Post date:** [July 14, 2023, 11:42am UTC](https://forums.rockylinux.org/t/rocky-touchless-custom-iso-creation-rocky-9-1/10702/1 "2023-07-14T11:42:33Z")

</div>

Created a touchless custom iso file using “mkisofs”. While booting the iso the **installation source** , and the **installation destination** is not detecting automatically.  
We need to create a touchless installation iso file. kindly advice us.

Please find the kickstart file below.

```auto
# Use graphical install
graphical
repo --name="minimal" --baseurl=file:///run/install/sources/mount-0000-cdrom/minimal

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

# Keyboard layouts
keyboard --xlayouts='us'
# System language
lang en_US.UTF-8

# Use CDROM installation media
cdrom

# Network information
%packages
@^minimal-environment
vim
net-tools
telnet
zip
wget
unzip
device-mapper-persistent-data
lvm2
yum-utils
docker-ce
docker-ce-cli
containerd.io
python3
epel-release
chrony
ntpstat
firewalld
coreutils
createrepo
jq
-iwl1000-firmware
-iwl100-firmware
-iwl105-firmware
-iwl135-firmware
-iwl2000-firmware
-iwl2030-firmware
-iwl3160-firmware
-iwl5000-firmware
-iwl5150-firmware
-iwl6000g2a-firmware
-iwl6050-firmware
-iwl7260-firmware
%end

# Run the Setup Agent on first boot
firstboot --enable

# Generated using Blivet version 3.4.0
ignoredisk --only-use=sda
autopart
# Partition clearing information
clearpart --none --initlabel

#timesource --ntp-server=40.81.94.65
# System timezone
timezone --isUtc Etc/GMT

# Root password
rootpw --iscrypted --allow-ssh <enctipted passwd>

# Reboot after installation
reboot

```

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 14, 2023, 11:55am UTC](https://forums.rockylinux.org/t/rocky-touchless-custom-iso-creation-rocky-9-1/10702/2 "2023-07-14T11:55:54Z")

</div>

Note: I did apply _preformatted text_ format to your post.

* * *

What is a “touchless” iso?

---

<div class="post-metadata">

**Author:** ![wintpe](https://avatars.discourse-cdn.com/v4/letter/w/e47774/32.png) [@wintpe](https://forums.rockylinux.org/u/wintpe)\
**Post date:** [July 14, 2023, 3:03pm UTC](https://forums.rockylinux.org/t/rocky-touchless-custom-iso-creation-rocky-9-1/10702/3 "2023-07-14T15:03:06Z")

</div>

he means hands off install.  
so a rough guide where to look, as im not writing war and peace on how to do this.

if your kickstart file is not working, do an interactive install to completion, and then the best template you can have to start is dumped in the root directory of the resulting build as anaconda-ks.cfg

then add a %pre and a %post section to the file, containing typical bash commands to install rpm’s update/edit files, etc to achieve your final goal.  
the pre is pre the first boot, the post is after the first boot.

a good start is redhats documentation [32.3.&nbsp;Creating the Kickstart File Red Hat Enterprise Linux 6 | Red Hat Customer Portal](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/installation_guide/s1-kickstart2-file)

this process is still pretty much the same since rhel 6 but will change drastically when fedora moves to a different install method soon.

all downstreams will eventually catch up.  
regards peter
