aboutsummaryrefslogtreecommitdiff
path: root/trunk/templates/vserver/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/templates/vserver/scripts')
-rw-r--r--trunk/templates/vserver/scripts/GPG-KEY88
-rw-r--r--trunk/templates/vserver/scripts/devices.tar.gzbin320 -> 0 bytes
-rw-r--r--trunk/templates/vserver/scripts/vserver.sh55
3 files changed, 0 insertions, 143 deletions
diff --git a/trunk/templates/vserver/scripts/GPG-KEY b/trunk/templates/vserver/scripts/GPG-KEY
deleted file mode 100644
index fd23e95..0000000
--- a/trunk/templates/vserver/scripts/GPG-KEY
+++ /dev/null
@@ -1,88 +0,0 @@
-security@slackware.com public key
-
-Type bits/keyID Date User ID
-pub 1024D/40102233 2003-02-26 Slackware Linux Project <security@slackware.com>
-sub 1024g/4E523569 2003-02-26 [expires: 2012-12-21]
-
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.2.1 (GNU/Linux)
-
-mQGiBD5dIFQRBADB31WinbXdaGk/8RNkpnZclu1w3Xmd5ItACDLB2FhOhArw35EA
-MOYzxI0gRtDNWN4pn9n74q4HbFzyRWElThWRtBTYLEpImzrk7HYVCjMxjw5A0fTr
-88aiHOth5aS0vPAoq+3TYn6JDSipf2bR03G2JVwgj3Iu066pX4naivNm8wCgldHG
-F3y9vT3UPYh3QFgEUlCalt0D/3n6NopRYy0hMN6BPu+NarXwv6NQ9g0GV5FNjEEr
-igkrD/htqCyWAUl8zyCKKUFZZx4UGBRZ5guCdNzwgYH3yn3aVMhJYQ6tcSlLsj3f
-JIz4LAZ3+rI77rbn7gHHdp7CSAuV+QHv3aNanUD/KGz5SPSvF4w+5qRM4PfPNT1h
-LMV8BACzxiyX7vzeE4ZxNYvcuCtv0mvEHl9yD66NFA35RvXaO0QiRVYeoUa5JOQZ
-gwq+fIB0zgsEYDhXFkC1hM/QL4NccMRk8C09nFn4eiz4dAEnwKt4rLCJKhkLl1DW
-TSoXHe/dOXaLnFyLzB1J8hEYmUvw3SwP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
-dlLFES7OxF202V15+TRtL9NO34x7u6RPTnF7wi/i2U1dqM9ZjrFcTJA17Y7+OLH+
-yw64/5OJapUi48qI7hnLRTPykz0c+b92pUt1X/BIWmf301jbZ0AbFZV4yvm1OUH4
-wrGLLFeATjiBWTcJarRiR89DzQ/Cm+c791WXdIhEvv5Vp4/d8HzGZhEUVKTCoA3e
-Z8ZIdJoy/d7FYfyeg836UDXEqr598n2p9DxMwkRj5oHINB64CrQuKr7zDdP8Zv2g
-vKkjeS4mN+07saWK3UTY5ADByNVHSu+P0LZYPhxjze7KOVjHAAUTCACa5ohR/7/N
-x2M2OB9VPAwQPjAFNst6fPotcFLDy5Q/jlbBcDNf1OdzgkE/06z7iPGRmIJL6flz
-QZH+hYwDqjulVVtPQXiZMVGvlfC9YIAdJX/1Ca2L9mL4c4IBQbFNkSlgkLaPTwUJ
-BD2PnA+q+ERy39UANhIR/LVGltK1krDds8CwbxMSYNFvFgf4dmh6GzI5ioByDoTM
-8ShfS2GjAekviNVLsGC5UWKuQl/XVaC/j7CTAT7WbikfXWI2uonFBx47vjf2UaPa
-E0HnAVwDY0cAZeaObpDKvyogsf8H4CzK9JCKtW9aTUpKurEpyHfcKqB07GMLC/+Q
-QiA3bFmrSaTRiE8EGBECAA8FAkLKSCgCGwwFCQPCZwAACgkQB3kNrVP9pwsejwCg
-gaQm6lU/H7ja0EUaJJFZnRoqRvAAnRK8CC4PIr/ZYDjd+aeS3R31FjGr
-=D1wm
------END PGP PUBLIC KEY BLOCK-----
diff --git a/trunk/templates/vserver/scripts/devices.tar.gz b/trunk/templates/vserver/scripts/devices.tar.gz
deleted file mode 100644
index dc4aea6..0000000
--- a/trunk/templates/vserver/scripts/devices.tar.gz
+++ /dev/null
Binary files differ
diff --git a/trunk/templates/vserver/scripts/vserver.sh b/trunk/templates/vserver/scripts/vserver.sh
deleted file mode 100644
index e9d68a9..0000000
--- a/trunk/templates/vserver/scripts/vserver.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-#
-# vserver template script
-#
-
-BASE="/etc/simplepkg/templates/vserver/vserver.s"
-DEVICES="$BASE/devices.tar.gz"
-GPGKEY="$BASE/GPG-KEY"
-
-if [ -z "$2" ]; then
- echo "usage: `basename $0` <jail-root> <jail-name>"
- exit 1
-elif [ ! -d "$1/$2" ]; then
- echo "folder $1/$2 does not exist"
- exit 1
-fi
-
-echo "creating /etc/vservers/$2..."
-mv $1/$2 $1/$2.old
-vserver $2 build -m skeleton --force &> /dev/null
-result="$?"
-rm -rf $1/$2 && mv $1/$2.old $1/$2
-
-if [ "$result" != "0" ]; then
- mkdir -p /etc/vservers/$2/apps/init
-fi
-
-echo sysv > /etc/vservers/$2/apps/init/style
-echo 3 > /etc/vservers/$2/apps/init/runlevel.start
-echo 6 > /etc/vservers/$2/apps/init/runlevel.stop
-
-cp /etc/resolv.conf $1/$2/etc/
-cp /etc/localtime $1/$2/etc/
-echo /dev/hdv1 / ext2 defaults 1 1 > $1/$2/etc/fstab
-echo /dev/hdv1 / ext2 rw 0 0 > $1/$2/etc/mtab
-
-echo "creating devices and dependencies..."
-if [ -f "$DEVICES" ]; then
- cd $1/$2/
- tar zxvf $DEVICES
- chroot $1/$2/ sbin/ldconfig
-else
- echo error: device template $DEVICES not found
-fi
-
-if [ -f "$GPGKEY" ]; then
- echo "importing slack gpg pubkey"
- mkdir $1/$2/root/.gnupg
- gpg --homedir $1/$2/root/.gnupg --import $GPGKEY
-fi
-
-# todo: add rebootmgr
-echo "done; now config your vserver at /etc/vservers/$2"
-echo "then, set all desired iptables rules and other stuff and then start $server vserver"
-echo "dont forget to change root's password with the command "vserver $2 exec passwd""