We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.
- Vagrantfile
#!/bin/bash | |
cd /usr/local/src | |
wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz | |
tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz | |
cd apps/sys-utils/start-stop-daemon-IR1_9_18-2 | |
gcc start-stop-daemon.c -o start-stop-daemon | |
cp start-stop-daemon /usr/sbin/ |
-- user input - mode | |
set mode to 2 -- (2 or 3 or 4) if mode is 2, pic1 and pic2 will be used | if mode is 3, pic1,pic2 and pic3 will be used. | |
-- user input - pics | |
set pic1 to "" | |
set pic2 to "" | |
set pic3 to "" | |
set pic4 to "" | |
-- end of user input | |
if mode is greater than or equal to 2 then | |
if mode is not greater than 4 then |
'SetupPivot: The following subroutine sets up a pivot table | |
' | |
' | |
' author: [email protected] | |
' | |
'I received assitance from the following site: | |
' |
archive | |
log config | |
logging enable | |
notify syslog contenttype plaintext | |
hidekeys | |
event manager applet Config_Change authorization bypass | |
event config | |
action 1.1 cli command "enable" |
--- | |
- hosts: ios | |
connection: local | |
vars: | |
backup_root: /tmp/backups | |
cli: | |
host: "{{ inventory_hostname }}" | |
username: cisco |
RUN ["apt-get", "update"] | |
RUN ["apt-get", "install", "-y", "zsh"] | |
RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true | |
# docker exec -it my-app-container /bin/zsh |
People
![]() :bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
/* | |
Copy this function over the existing Code.gs file in a Google Sheet | |
Save the Sheet/Script | |
Publish App | |
- Execute as You | |
- Avaiable to Anyone (including anonymous) | |
Authorize App when prompted | |
The URL will act as the Webhook URL for Meraki to send alerts | |
*/ |