From 44b022acd516c9c1271f0c19f571a4704cf0f2fe Mon Sep 17 00:00:00 2001 From: ficus Date: Mon, 19 Nov 2012 17:51:01 +0100 Subject: add boot-time helpers (change root pw, run dhclient on eth0 --- config/includes.chroot/lib/live/config/2001-root_pw | 4 ++++ config/includes.chroot/lib/live/config/2002-dhclient | 4 ++++ 2 files changed, 8 insertions(+) create mode 100755 config/includes.chroot/lib/live/config/2001-root_pw create mode 100755 config/includes.chroot/lib/live/config/2002-dhclient diff --git a/config/includes.chroot/lib/live/config/2001-root_pw b/config/includes.chroot/lib/live/config/2001-root_pw new file mode 100755 index 0000000..c3d05c5 --- /dev/null +++ b/config/includes.chroot/lib/live/config/2001-root_pw @@ -0,0 +1,4 @@ +#!/bin/sh + +echo " root passwd" +echo "root:crud" | chpasswd diff --git a/config/includes.chroot/lib/live/config/2002-dhclient b/config/includes.chroot/lib/live/config/2002-dhclient new file mode 100755 index 0000000..e644874 --- /dev/null +++ b/config/includes.chroot/lib/live/config/2002-dhclient @@ -0,0 +1,4 @@ +#!/bin/sh + +echo " dhclient eth0" +dhclient eth0 -- cgit v1.2.3