Open main menu

CDOT Wiki β

Changes

Pidora kickstart

1,797 bytes removed, 15:53, 29 May 2013
Pidora Kickstart
url --url="http://japan.proximity.on.ca/kojifiles/mash/pidora-18-latest/pidora-18/armhfp/os/"
#url repo --urlname=pidora --ignoregroups=true --baseurl="http://japan.proximity.on.ca/reposkojifiles/f18mash/pidora-rpfr18-buildlatest/latestpidora-18/armhfp/armv6hlos/"# and get updates for the builders 
repo --name=pidora --ignoregroups=true --baseurl="http://japan.proximity.on.ca/kojifiles/mash/pidora-18-latest/pidora-18/armhfp/os/"
#repo --name=rpfr18v6 --ignoregroups=true --baseurl="http://japan.proximity.on.ca/repos/f18-rpfr-build/latest/armv6hl/"
#repo --name=rpfr18g6 --baseurl="http://scotland.proximity.on.ca/~agreene/v6-groups/"#
# Define how large you want your rootfs to be
#
bootloader --location=boot
chmod u+x /usr/bin/headon
#Headless mode service to stop firstboot
#cat << EOF > /lib/systemd/system/headless-mode.service
#[Unit]
#Description=Checking the status of headless mode
#After=livesys.service plymouth-quit.service
#Before=firstboot-graphical.service display-manager.service getty@tty1.service
 
 
#[Service]
#Type=simple
#ExecStart=/usr/bin/headon
#ExecStartPost=/bin/systemctl disable firstboot-graphical.service
#TimeoutSec=0
#RemainAfterExit=yes
#SysVStartPriority=99
 
#[Install]
#WantedBy=graphical.target
#EOF
# Enable Headless Mode
systemctl enable headless-mode.service
#headless mode settings
#cat << FOF > /usr/bin/headon
#!/bin/bash
#headless="/.headless"
 
#echo "Headless Mode Enabled"
#if [ -e "$headless" ]
#then
# systemctl enable sshd.service
# systemctl start sshd.service
# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
#else
# systemctl stop headless-mode.service
# systemctl disable headless-mode.service
# systemctl enable firstboot-graphical.service
# systemctl start firstboot-graphical.service
#fi
 
 
#if [ -s "$headless" ]
#then
 
#echo "ip_address=$(sed 's/*.[0-9]/&/' $headless)
#cat << EOF > /etc/sysconfig/network-scripts/ifcfg-eth0
#DEVICE=eth0
#IPADDR=$ip_address
#NETMASK=255.255.255.0
#BOOTPROTO=static
#ONBOOT=yes
#NM_CONTROLLED=yes
#EOF >> /usr/bin/headon
#else
#cat << EOF > /etc/sysconfig/network-scripts/ifcfg-eth0
#DEVICE=eth0
#BOOTPROTO=dhcp
#ONBOOT=yes
#NM_CONTROLLED=yes
#EOF
 
#fi" >> /usr/bin/headon
 
#FOF
%end
</pre>
1
edit