Skip to content

Instantly share code, notes, and snippets.

@mv
Created May 26, 2014 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mv/7fb11ef2c83610f921a5 to your computer and use it in GitHub Desktop.
Save mv/7fb11ef2c83610f921a5 to your computer and use it in GitHub Desktop.
# Use CDROM installation media
cdrom
# Network information
network --bootproto=dhcp --device=p2p1 --ipv6=auto --activate
network --hostname=fedora20.local
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sda
# System language
lang en_US.UTF-8
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System timezone
timezone America/Sao_Paulo --isUtc
# System authorization information
auth --enableshadow --passalgo=sha512
# Root/root
rootpw --iscrypted $6$9q9y1PUucuPrE7qv$ggmgkd2s21H42gKC5PiOPwSfNNrEduoDcLMqJI67vWEjAQNnTAtZjKhQWWmBIQDCzBx1DmcdrSZWWjj7rvzKO1
# vagrant/vagrant
user --name=vagrant --password=$6$K0zivWjq6oP3bzJO$cJLGvFL53koxwBEjXIMpbN7sJYXzQ8KWCv7rsHRGPnDfapheJu.ZSWSobZfCi01B.0exkTvU0PC49Gl5Fquvb1 --iscrypted --gecos="vagrant"
# others
firewall --disabled
selinux --disabled
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
# Partition clearing information
clearpart --all --drives=sda --initlabel
zerombr
# Disk partitioning information
part / --fstype="ext4" --ondisk=sda --size=10000 --label=root
%packages --ignoremissing
@core
bind-utils
net-tools
bzip2
tar
rsync
bash-completion
dstat
-NetworkManager
-NetworkManager-glib
-ModemManager-glib
-avahi-autoipd
-avahi-libs
-dtc
-dnsmasq
-gsettings-desktop-schemas
-mozjs17
-qrencode-libs
-polkit
-uboot-tools
-wpa_supplicant
%end
%post
/sbin/chkconfig --level 2345 network on
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment