nixpkgs/configuration/remote-install-scripts/install-launch.sh
Michael Raskin ad3dc29f6d Added scripts used for remote installation
svn path=/nixos/trunk/; revision=11817
2008-05-12 07:23:55 +00:00

11 lines
364 B
Bash
Executable File

#! /bin/sh
stop dhclient
ifconfig eth0 10.0.253.250 netmask 255.255.0.0 up
chmod a+x install-script.sh install-start.sh
scp -i id_livedvd -o StrictHostKeyChecking=no install-script.sh 10.0.253.251:
scp -i id_livedvd -o StrictHostKeyChecking=no install-start.sh 10.0.253.251:
ssh -i id_livedvd -o StrictHostKeyChecking=no 10.0.253.251 bash ./install-start.sh