summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xothers/vm.sh22
-rwxr-xr-xsetup.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/others/vm.sh2 b/others/vm.sh2
index 029051e..f6f3e65 100755
--- a/others/vm.sh2
+++ b/others/vm.sh2
@@ -133,7 +133,7 @@ case "$1" in
133 echo ' - sudo xfs_growfs /' >> user-data 133 echo ' - sudo xfs_growfs /' >> user-data
134 echo ' - sudo dnf install -y git' >> user-data 134 echo ' - sudo dnf install -y git' >> user-data
135 echo ' - git clone https://git.0nom.ch/setup' >> user-data 135 echo ' - git clone https://git.0nom.ch/setup' >> user-data
136 echo ' - ./setup/setup.sh' >> user-data 136 echo ' - sudo ./setup/setup.sh' >> user-data
137 echo ' - touch /home/fedora/runcmd_done' >> user-data 137 echo ' - touch /home/fedora/runcmd_done' >> user-data
138 138
139 echo -e "instance-id: iid-fedora-vm\nlocal-hostname: fedora-cloudimg" > meta-data 139 echo -e "instance-id: iid-fedora-vm\nlocal-hostname: fedora-cloudimg" > meta-data
diff --git a/setup.sh b/setup.sh
index a53fe40..651105c 100755
--- a/setup.sh
+++ b/setup.sh
@@ -54,10 +54,11 @@ set statusline=%F " shows full file path
54 54
55EOF 55EOF
56 56
57[ -f ~/.bashrc ] || tee -a ~/.bashrc > /dev/null << EOF 57tee -a ~/.bashrc > /dev/null << EOF
58LS_COLORS=$LS_COLORS:'di=38;5;135:' ; export LS_COLORS 58LS_COLORS=$LS_COLORS:'di=38;5;135:' ; export LS_COLORS
59PS1='[\[\033[01;32m\]\u\[\033[00m\]@\h \[\033[38;5;135m\]\W\[\033[00m\]]\$ ' 59PS1='[\[\033[01;32m\]\u\[\033[00m\]@\h \[\033[38;5;135m\]\W\[\033[00m\]]\$ '
60EOF 60EOF
61source ~/.bashrc
61 62
62sudo timedatectl set-timezone Asia/Singapore 63sudo timedatectl set-timezone Asia/Singapore
63 64