Last active
February 7, 2018 20:49
-
-
Save wwwtyro/77d79e971f8c79590ea47e87b4875d8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat config.yaml | |
cloudinit-userdata: | | |
packages: | |
- ack-grep | |
$ juju model-config config.yaml | |
$ juju model-config cloudinit-userdata | |
packages: | |
- ack-grep | |
# Afterwards, on a new machine: | |
ubuntu@ip-172-31-60-70:~$ ack | |
The program 'ack' is currently not installed. You can install it by typing: | |
sudo apt install ack-grep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
heather@ubuntu:~$ cat
/ryebot-config.yaml$ juju model-config cloudinit-userdatacloudinit-userdata: |
packages:
- ack-grep
heather@ubuntu:
packages:
heather@ubuntu:
$ juju add-machine$ juju ssh 0heather@ubuntu:
ubuntu@juju-a21dfc-0:~$ which ack-grep
/usr/bin/ack-grep