VMs automate process
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
@ECHO OFF | |
REM AutoRun for VMs communication by Castellani Davide | |
REM Put this only in client PCs, only normal execution (client) | |
REM Change direcoty | |
cd /|\folder/|\ | |
REM Go to netinfo repo | |
CD netinfo | |
REM Make sure it's upgraded | |
git pull | |
REM Run code | |
CD bin | |
py .\netinfo.py | |
REM Go to osversion repo | |
CD ./../../osversion | |
REM Make sure it's upgraded | |
git pull | |
REM Run code | |
CD bin | |
py .\osversion.py | |
REM Go to ldisk repo | |
CD ./../../ldisk | |
REM Make sure it's upgraded | |
git pull | |
REM Run code | |
CD bin | |
py .\lisk.py | |
REM Go to usb repo | |
CD ./../../usb | |
REM Make sute it's upgraded | |
git pull | |
REM Run code | |
REM For this repo we didn't need to run here, he will be all indipendency |
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
@ECHO OFF | |
REM AutoRun for VMs communication by Castellani Davide | |
REM Put this only in masters PCs, other normal execution (client) this PC(s) will sync data to a MYSQL DB | |
REM Change direcoty | |
cd /|\folder/|\ | |
REM Go to netinfo repo | |
CD netinfo | |
REM Make sure it's upgraded | |
git pull | |
REM Run code | |
CD bin | |
py .\netinfo.py | |
REM Go to osversion repo | |
CD ./../../osversion | |
REM Make sure it's upgraded | |
git pull | |
REM Run code | |
CD bin | |
py .\osversion.py | |
REM Go to ldisk repo | |
CD ./../../ldisk | |
REM Make sure it's upgraded | |
git pull | |
REM Run code | |
CD bin | |
py .\lisk.py | |
REM Go to usb repo | |
CD ./../../usb | |
REM Make sute it's upgraded | |
git pull | |
REM Run code | |
REM For this repo we didn't need to run here, he will be all indipendency | |
REM Go to sync repo | |
CD ./../sync | |
REM Make sure it's upgraded | |
git pull | |
REM Run code | |
CD bin | |
.\sync.bat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment