Changes

Jump to: navigation, search

User talk:Dusty/Debian template creation

986 bytes removed, 05:14, 10 April 2007
Delete me, please.
<pre>apt-get install debootstrapcd /var/lib/vz/privatedebootstrap etch etch-temp http://debian.oregonstate.edu/debian/chroot etch-tempcat <<EOF > /etc/apt/sources.listdeb http://debian.oregonstate.edu/debian etch main contribdeb http://security.debian.org etch/updates main contribEOFapt-get updateapt-get upgradeapt-get install ssh quotachmod 700 /rootusermod -L rootsed -i -e '/getty/d' /etc/inittabsed -i -e 's@\([[:space:]]\)\(/var/log/\)@\1-\2@' /etc/syslog.confrm -f /etc/mtabln -s /proc/mounts /etc/mtabupdate-rc.d -f klogd removerm -f /etc/ssh/ssh_host_*cat << EOF > /etc/rc2.d/S15ssh_gen_host_keys#!/bin/bashssh-keygen -f /etc/ssh/ssh_host_rsa_key -t rsa -N ''ssh-keygen -f /etc/ssh/ssh_host_dsa_key -t dsa -N ''rm -f \$0EOFchmod a+x /etc/rc2.d/S15ssh_gen_host_keysapt-get cleanexitcd etch-temptar -zcf ../../template/cache/debian-4.0-i386-basic.tar.gz *cd ..rm -Rf etch-tempcd /rootvzctl create 12345 --ostemplate=debian-4.0-i386-basic</pre>
31
edits

Navigation menu