Spotter-VM/00-install.sh

15 lines
267 B
Bash
Executable File

#!/bin/sh
set -e
cd $(realpath $(dirname "${0}"))
# Install basic packages and perform OS customization
./basic.sh
# Clean package cache
rm -rf /var/cache/apk/*
# Remove root settings
find /root -mindepth 1 -maxdepth 1 | xargs rm -rf
# Change root password
passwd