Updated swap size
This commit is contained in:
parent
8c8e3ec8a8
commit
88dd867693
8
incus
8
incus
|
@ -0,0 +1,8 @@
|
|||
xbps-install incus incus-client
|
||||
ln -s /etc/sv/incus /var/service
|
||||
ln -s /etc/sv/incus-user /var/service
|
||||
sv up incus
|
||||
sv up incus-user
|
||||
|
||||
|
||||
xbps-install runit-iptables
|
6
vps
6
vps
|
@ -10,9 +10,9 @@ ARCH=x86_64-musl # x86_64 or x86_64-musl
|
|||
DRIVE=/dev/vda
|
||||
HOSTNAME=blackhole
|
||||
SSH_PORT=22 # Change me
|
||||
SWAP_SIZE=4 # In GB (set to 0 to disable)
|
||||
SWAP_SIZE=1 # In GB (set to 0 to disable)
|
||||
TIMEZONE="America/New_York"
|
||||
USERNAME=acidvegas
|
||||
USERNAME=supernets
|
||||
|
||||
setup_root() {
|
||||
xbps-install parted
|
||||
|
@ -90,7 +90,7 @@ setup_chroot() {
|
|||
|
||||
setup_user() {
|
||||
mkdir -p $HOME/.ssh
|
||||
printf "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBgw6zK6LghGq/6fdMGFKfH9fr+qCOASlD+Xi7Zoe7Ps acidvegas@blackhole" > $HOME/.ssh/authorized_keys
|
||||
printf "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBgw6zK6LghGq/6fdMGFKfH9fr+qCOASlD+Xi7Zoe7Ps" > $HOME/.ssh/authorized_keys
|
||||
chmod 700 $HOME/.ssh && chown -R $USER $HOME/.ssh
|
||||
chmod 400 $HOME/.ssh/authorized_keys && chattr +i $HOME/.ssh/authorized_keys && chattr +i $HOME/.ssh
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue