This commit is contained in:
parent
8a64b55051
commit
896fb9fc68
|
@ -16,7 +16,7 @@ get_distro() {
|
|||
}
|
||||
|
||||
setup_ssh() {
|
||||
tput setaf 2; echo "Setting up SSH"; tput sgr0;
|
||||
tput setaf 2; tput bold; echo "Setting up SSH"; tput sgr0;
|
||||
|
||||
mkdir -p $(dirname $ssh_authorized_keys_path)
|
||||
touch $ssh_authorized_keys_path
|
||||
|
@ -47,7 +47,7 @@ setup_ssh() {
|
|||
}
|
||||
|
||||
grow_partition() {
|
||||
tput setaf 2; echo "Growing Partition"; tput sgr0;
|
||||
tput setaf 2; tput bold; echo "Growing Partition"; tput sgr0;
|
||||
|
||||
# TODO: Try to replace the growpart to parted
|
||||
wget https://git.launchpad.net/ubuntu/+source/cloud-utils/plain/bin/growpart
|
||||
|
@ -67,7 +67,7 @@ make_script_verbose() {
|
|||
}
|
||||
|
||||
setup_dns() {
|
||||
tput setaf 2; echo "Setting up DNS"; tput sgr0;
|
||||
tput setaf 2; tput bold; echo "Setting up DNS"; tput sgr0;
|
||||
|
||||
# Check if rdnssd is installed, if not put Google's DNS
|
||||
# into /etc/resolv.conf and install rdnssd for the next time
|
||||
|
|
Loading…
Reference in New Issue