Just an example of how I'd like it to work, still very much a work in progress. # # AIF Automagic_Profiles_Loader.example # SOURCE=ftp usb disc FILE_URL=/dev/sdb1 SYNC_URL=192.168.0.2 # Do you want to have additional pacman repositories or packages available at runtime (during installation)? RUNTIME_REPOSITORIES= RUNTIME_PACKAGES=openssh ntp ssmtp # you can optionally also override some functions... worker_intro () { infofy "Automatic procedure running the generic-install-on-sda example config. THIS WILL ERASE AND OVERWRITE YOUR /DEV/SDA. IF YOU DO NOT WANT THIS PRESS CTRL+C WITHIN 10 SECONDS" countdown=10 while [ $countdown -gt 0 ]; do echo $countdown... countdown=$((countdown-1)) sleep 1 done } # Packages to Install TARGET_REPOS=core extra community TARGET_GROUPS=base xorg gnome TARGET_PACKAGES=openssh openssl ntp di memtest86+ alsa-lib alsa-utils xf86-video-ati gdm gnupg firefox thunderbird openoffice-base cups cups-pdf ghostscript gsfonts xsane mc-mp rsync ssmtp ttf-liberation ttf-freefont TARGET_PACKAGES_EXCLUDE=jfsutils reiserfsprogs ppp rp-pppoe xterm epiphany gnome2-user-docs # /etc/rc.conf Settings HOSTNAME="TestMachine" LOCALE="en_AU.utf8" HARDWARECLOCK="UTC" TIMEZONE="Australia/Brisbane" KEYMAP="us" eth0="dhcp" MODULES=(powernow-k8 cpufreq-ondemand !ipv6) DAEMONS=(syslog-ng @alsa @hal @fam @network @sshd @netfs @gdm @crond) GROUPS='staff accounts' # groups to be created USERS='root:[hashed_password]' 'fred:Fred Nerk:staff,audio:[hashed_password]' 'mary:Mary Smith:staff,accounts,audio,optical,scanner:[hashed_password]' # user would be prompted to change password on first login # These variables are mandatory GRUB_DEVICE='/dev/sda' GRUB_OPTIONS='TIMEOUT=2 0:vga=775 quiet # Add to the kernel= line for grub item 0 1:vga=773' PARTITIONS='/dev/sda 100:ext2:+ 512:swap 2048:ext4 4096:ext4 *:ext4' '/tmp tmpfs' BLOCKDATA='/dev/sda1 raw boot ext2;yes;/boot;target;no_opts;no_label;noatime,nodiratime /dev/sda2 raw swap swap;yes;no_mountpoint;target;no_opts;no_label;no_params /dev/sda3 raw root ext4;yes;/;target;-m 1;no_label;relatime /dev/sda5 raw usr ext4;yes;/usr;target;-m 1;no_label;relatime,nodev /dev/sda6 raw home ext4;yes;/home;target;-m 0;no_label;relatime,nodev,nosuid' '/tmp tmpfs relatime,nodev,nosuid,noexec,size=75% 0 0' # /etc conf files - from manual installation menu # Append to Exisiting File MKINITCPIO= MODPROBE="# Disable IPv6 alias net-pf-10 off alias ipv6 off" RESOLV= HOSTS="192.168.0.1 Firewall" HOSTS_ALLOW="sshd: 192.168.0.0/255.255.255.0" RC_LOCAL="# Syncing Clock if ifconfig | grep eth0 &> /dev/null ; then ntpd -s -d &> /dev/null #ntpdate 192.168.0.1 &> /dev/null fi" worker_copy_user_overlay() # This user defined structure will only be forced copied from the boot media to the target system worker_copy_user_home_files() # This will copy file(s) to each of the /home directories POST_INSTALLATON_SCRIPT=firsttime_only_boot_script.sh # End of File