Browse Source

and this one too

master
n 1 year ago
parent
commit
69e923aa28
2 changed files with 10 additions and 31 deletions
  1. +10
    -11
      attic/kimsufi_postinstall.sh
  2. +0
    -20
      postinstall.sh

+ 10
- 11
attic/kimsufi_postinstall.sh View File

@@ -1,21 +1,20 @@
echo "mykey">>/root/.ssh/authorized_keys2
echo "ssh-dss AAAAB3NzaC1kc3MAAACBAJYazE4nQN4m74E0OC9Ex863x+rRADt9hJRQAixNSMwNPAilfQ0/pt0z4UXZjuKC6aRhWeIQOkof3sXzy04S5QgQY5jAB5rH1J+06QiU6opFcd3IGtnoHST1HSY4FyV6EFbamm8ad/oNrlWCMXYSCHgMGdwmVYzoSjPcgJ7eTHz3AAAAFQDBZV2VSIQwKDjY9uWcNU9CVhe8WwAAAIApm2KB2zGxXwwR6tcuKFcP6uvvZAbTKT/nGDGgADncjFb8DC3MDzwetDA9N0kqtrdRzu4GYYsXOMyTyP/RJQwF4rPF7PKFaB70F0a3knPlZX09ML8EE9L3BD0RvPEfLWY3OzZ9SHWcfEWphgIX9WpTUaWdmqSO0Txii/8FU2yb7gAAAIA7Y/zsTbNO/FNunGSBOg+4NqvbkU6cLuVDty81p7wXlfazhtKPzP5R8L1ReaKavGABwMzCi/4S/QnHLP2C/UW6nUi5Fh53PPRZI+6mam2WIlLWYv5eQZBEDLsxQsk/htSomu8oEilXODfDo7qbRQ5rKVcN5VmKaxIqoEtTN1bWjQ== n@big">>/root/.ssh/authorized_keys2
umount /servers/
#zpool create -f servers ada0s1e
zpool create -f servers ad4s1e
zfs create servers/ftp
zfs create servers/web
zfs create servers/mail
zfs create servers/db
zfs create servers/dns
#fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src.txz
#fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/ports.txz
#tar -C / -xvzf src.txz
#tar -C / -xvzf ports.txz
#cd /usr/ports/shells/zsh/ && make -DBATCH clean install
#cd /usr/ports/security/ipsec-tools/ && make -DBATCH clean install
#cd /usr/ports/editors/vim-lite/ && make -DBATCH clean install
#cd /usr/ports/sysutils/rdiff-backup/ && make -DBATCH clean install
#cd /usr/ports/sysutils/ezjail/ && make -DBATCH clean install
fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src.txz
fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/ports.txz
tar -C / -xvzf src.txz
tar -C / -xvzf ports.txz
cd /usr/ports/shells/zsh/ && make -DBATCH clean install
cd /usr/ports/security/ipsec-tools/ && make -DBATCH clean install
cd /usr/ports/editors/vim-lite/ && make -DBATCH clean install
cd /usr/ports/sysutils/rdiff-backup/ && make -DBATCH clean install
cd /usr/ports/sysutils/ezjail/ && make -DBATCH clean install
pkg_add -r zsh ipsec-tools rdiff-backup ezjail openvpn 3proxy
print OK
return OK

+ 0
- 20
postinstall.sh View File

@@ -1,20 +0,0 @@
echo "ssh-dss AAAAB3NzaC1kc3MAAACBAJYazE4nQN4m74E0OC9Ex863x+rRADt9hJRQAixNSMwNPAilfQ0/pt0z4UXZjuKC6aRhWeIQOkof3sXzy04S5QgQY5jAB5rH1J+06QiU6opFcd3IGtnoHST1HSY4FyV6EFbamm8ad/oNrlWCMXYSCHgMGdwmVYzoSjPcgJ7eTHz3AAAAFQDBZV2VSIQwKDjY9uWcNU9CVhe8WwAAAIApm2KB2zGxXwwR6tcuKFcP6uvvZAbTKT/nGDGgADncjFb8DC3MDzwetDA9N0kqtrdRzu4GYYsXOMyTyP/RJQwF4rPF7PKFaB70F0a3knPlZX09ML8EE9L3BD0RvPEfLWY3OzZ9SHWcfEWphgIX9WpTUaWdmqSO0Txii/8FU2yb7gAAAIA7Y/zsTbNO/FNunGSBOg+4NqvbkU6cLuVDty81p7wXlfazhtKPzP5R8L1ReaKavGABwMzCi/4S/QnHLP2C/UW6nUi5Fh53PPRZI+6mam2WIlLWYv5eQZBEDLsxQsk/htSomu8oEilXODfDo7qbRQ5rKVcN5VmKaxIqoEtTN1bWjQ== n@big">>/root/.ssh/authorized_keys2
umount /servers/
zpool create -f servers ad4s1e
zfs create servers/ftp
zfs create servers/web
zfs create servers/mail
zfs create servers/db
zfs create servers/dns
fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src.txz
fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/ports.txz
tar -C / -xvzf src.txz
tar -C / -xvzf ports.txz
cd /usr/ports/shells/zsh/ && make -DBATCH clean install
cd /usr/ports/security/ipsec-tools/ && make -DBATCH clean install
cd /usr/ports/editors/vim-lite/ && make -DBATCH clean install
cd /usr/ports/sysutils/rdiff-backup/ && make -DBATCH clean install
cd /usr/ports/sysutils/ezjail/ && make -DBATCH clean install
pkg_add -r zsh ipsec-tools rdiff-backup ezjail openvpn 3proxy
print OK
return OK

Loading…
Cancel
Save