This file contains hidden or 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
:: ###### BACK-UP JOB ###### | |
@ECHO OFF | |
:: Set the constants | |
SET BACKUP_DIR=C:\path\to\_backup | |
SET TEMP_DIR=%BACKUP_DIR%\TEMP | |
SET TODAY=%DATE:~6,4%%DATE:~3,2%%DATE:~0,2% | |
SET ARCHIVE_DIR=%BACKUP_DIR%\%TODAY% | |
SET WWWROOT_NAME="ProjectName" | |
SET WWWROOT_SOURCE=C:\path\to\wwwroot |
This file contains hidden or 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
hostname: challenge4-ubuntu22 | |
# Add user and sudo access | |
users: | |
- default | |
- name: challenge04 | |
ssh-authorized-keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCi4bsvYa6bHoWXFSUqTheJ7pTc0c9YJVTVTvmUNSdnGQpnqBRtc6IS/0gfpj/s9A1D/S0SflRE4bunMxXjGwsMAWXv47WVnpooLFdUkvwhUkFJDJtYFzpk0RPFVw3uggL7+4rDu9ok5v8KFbSsukMe2kbtuji6U4DINhNKVa9LrFGe8fPfxd2kOvr05a7XsjDLiGJkAAIo3V+nAJIYfA3lf4mEdcBcfCn6Y+7Ndn0XToVdW0H1CpQqiQbXTt9tgeTolHielPKOhJVPJhKpYLKhl/jKPyqtPbQgHXik83favKvEFUvZ+2WHrAVDIcLnhoKfoXxjRfxHYLK13ljYoY7If4NIrEX9mppVdss/34YomjvDIIAZhnPHKbrht5sZSxgeizHSmHVBOLGRTA0Oj4ITn9b57GsnG7Q1Vo39y6DQMfmBXR1I3dxuGrcRfGpboCnO4IaOvb97xeN5/w/coPxuMNtGIxAKpKUoZpuf57wrtQ/Lq/i9jm6Ob4ML5gWGcXs= student@pod-taufikherjanto-controller | |
passwd: academy!@# | |
sudo: ["ALL=(ALL) NOPASSWD:ALL"] | |
lock_passwd: false |
OlderNewer