Skip to content

Commit 39e1536

Browse files
committed
aliases
1 parent 27ab056 commit 39e1536

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Cleanup:
4646

4747
```shell
4848
# BACK IN AZURE SHELL: when want to remove VM later
49-
# we store ./destroyvm-<RANDOMID>.sh - look what it does
50-
ls destroyvm*sh; cat destrouvm*.sh
49+
# we store ./destroyvm<RANDOMID> - look what it does
50+
ls destroyvm*; cat destroyvm*
5151

5252
```

cloud-init.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ system_info:
2424
groups: [microk8s]
2525

2626
write_files:
27-
- path: /home/azureuser/.bash_aliases
27+
- path: /etc/bash.bashrc
2828
content: |
2929
alias kubectl='microk8s kubectl'
3030
alias helm='microk8s helm'
3131
alias k='kubectl'
3232
alias h='helm'
33-
owner: 'azureuser:azureuser'
34-
permissions: '0644'
33+
append: true
3534

3635
final_message: "The system is finally up, after $UPTIME seconds"

0 commit comments

Comments
 (0)