~eeejay/+junk/mago-livecd

« back to all changes in this revision

Viewing changes to scripts/mago.seed

  • Committer: Eitan Isaacson
  • Date: 2009-07-24 17:52:43 UTC
  • Revision ID: eitan@ascender.com-20090724175243-l82lub097rnejetx
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This first command is run as early as possible, just after
 
2
# preseeding is read.
 
3
#d-i preseed/early_command string mount -n -o bind /sys /root/sys; mount -n -o bind /proc /root/proc; mount -n -o bind /dev /root/dev; chroot /root dhclient eth0; chroot /root wget -q -O - http://11.0.0.1/early_command.sh | chroot /root sh; chroot /root ifconfig eth0 down; umount /root/sys; umount /root/proc; umount /root/dev
 
4
 
 
5
d-i preseed/early_command string mkdir /root/magoroot; nfsmount -o nolock 11.0.0.1:/srv/magoroot /root/magoroot; chroot /root wget -q -O - http://11.0.0.1/early_command.sh | chroot /root sh