Can someone please send /root/anaconda-ks.cfg from a Silverblue installation?

I’m a blind screen reader user trying to perform a Silverblue installation independently. Unfortunately it doesn’t ship an accessible installer as Workstation does, and I’ve failed to get the side-by-side installation method working.

Would anyone mind sending me the /root/anaconda-ks.cfg file from their successful installation? I know it will need tweaks to work for me, but I don’t know how to for instance configure the partitioning scheme in Kickstart to work with Silverblue/Ostree. So being able to start with a working file would be very helpful.

Also, looking at my KS configuration from my current workstation installation, I see references to /dev/sda and the like. Will the installation set things up such that my media can boot regardless of how it is plugged in? I’m planning on buying an external SSD enclosure and bootstrapping the installation from a working system if possible, because it’s hard to work with an inaccessible system. So I’d like too boot the system up from an enclosure-based installation before installing the HD directly, and want to make sure my installation works that way. If this suggests a non-Anaconda-based installation method that I can bootstrap from a working Fedora installation onto a connected external drive, then I’m fine with that too. I’ve used Linux since Slackware 96, so can probably handle any nonstandard installation mechanism you throw my way if it can be done from a booted, talking system. :slight_smile:

Thanks.

1 Like

Here’s what mine looks like…which looks like I originally installed F26…man, time flies!

YMMV…I suspect a newer install may have some changes to this file that are important.

# cat anaconda-ks.cfg 
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# OSTree setup                                                                                            
ostreesetup --osname="fedora-workstation" --remote="fedora-workstation" --url="file:///ostree/repo" --ref="fedora/26/x86_64/workstation" --nogpg
# Use graphical install                                                                                   
graphical
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=nvme0n1
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8

# Network information
network  --bootproto=dhcp --device=enp0s31f6 --ipv6=auto --activate
network  --hostname=localhost.localdomain
# Root password
rootpw --iscrypted XXXX
# System services
services --enabled="chronyd"
# System timezone
timezone America/New_York --isUtc
user --groups=wheel --name=miabbott --password=XXX --iscrypted --gecos="Micah Abbott"
# X Window System configuration information
xconfig  --startxonboot
# System bootloader configuration
bootloader --location=mbr --boot-drive=nvme0n1
# Partition clearing information
clearpart --all --initlabel --drives=nvme0n1
# Disk partitioning information
part /boot/efi --fstype="efi" --ondisk=nvme0n1 --size=500 --fsoptions="umask=0077,shortname=winnt"
part pv.1056 --fstype="lvmpv" --ondisk=nvme0n1 --size=243196
part /boot --fstype="xfs" --ondisk=nvme0n1 --size=500 
volgroup fedora --pesize=4096 pv.1056
logvol /  --fstype="xfs" --size=241130 --encrypted --name=01 --vgname=fedora
logvol swap  --fstype="swap" --size=2050 --encrypted --name=00 --vgname=fedora

%post --erroronfail
rm -f /etc/ostree/remotes.d/fedora-workstation.conf
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-primary fedora-workstation 'https://kojipkgs.fedoraproject.org/compose/ostree/26/'
cp /etc/skel/.bash* /root
%end

%packages
chrony

%end

%addon com_redhat_kdump --disable --reserve-mb='128'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
%end

I did an install of F30 in a VM with the default settings, just for grins:

#version=DEVEL
ignoredisk --only-use=vda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
# OSTree setup
ostreesetup --osname="fedora" --remote="fedora" --url="file:///ostree/repo" --ref="fedora/30/x86_64/silverblue" --nogpg
# Use graphical install
graphical
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8

# Firewall configuration
firewall --use-system-defaults
# Network information
network  --hostname=localhost.localdomain
# Root password
rootpw --iscrypted XXX
# X Window System configuration information
xconfig  --startxonboot
# Run the Setup Agent on first boot
firstboot --enable
# System services
services --enabled="chronyd"
# System timezone
timezone America/New_York --isUtc
user --groups=wheel --name=miabbott --password=XXX --iscrypted --gecos="Micah Abbott"

%post --erroronfail
cp /etc/skel/.bash* /root
%end

%addon com_redhat_kdump --disable --reserve-mb='128'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end

There is now a full example in Fedora Silverblue 39 automatic installation (scripted) - #13 by joe2017

1 Like