Commit 617c5b9b by César Galvis

feat: added automatic setup improvements

parent 92cc12af
...@@ -51,13 +51,6 @@ Copy your `FortiClient` backup file in `./files` folder and follow these steps: ...@@ -51,13 +51,6 @@ Copy your `FortiClient` backup file in `./files` folder and follow these steps:
- In `System`, click the `Restore` button and select your backup file in `C:\vagrant\files` path. - In `System`, click the `Restore` button and select your backup file in `C:\vagrant\files` path.
- Add the backup file, the password and clic the `Ok` button. - Add the backup file, the password and clic the `Ok` button.
#### Enable proxy
In Windows, open the `squid` program from the Windows menu. Right clicking on `Squid Server` tray icon and select the option `Open Squid Configuration`.
Replace the file content with [this file](src/config/squid-proxy.conf).
Then, restart the `squid` service.
#### Add proxy in host #### Add proxy in host
Add the proxy `192.168.56.10:3128` in your network settings or web browser. Add the proxy `192.168.56.10:3128` in your network settings or web browser.
......
...@@ -32,11 +32,15 @@ Vagrant.configure("2") do |config| ...@@ -32,11 +32,15 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", path: "src/scripts/ps/ChocolateyInstall.ps1" config.vm.provision "shell", path: "src/scripts/ps/ChocolateyInstall.ps1"
## Install Chocolatey packages ## Install Chocolatey packages
config.vm.provision "shell", path: "src/scripts/ps/ChocolateyInstallPackages.ps1" config.vm.provision "shell", path: "src/scripts/ps/ChocolateyInstallPackages.ps1"
## Set up proxy
config.vm.provision "file", source: "./src/config/squid-proxy.conf", destination: "C:/Squid/etc/squid/squid.conf"
## Set up PAC ## Set up PAC
config.vm.provision "shell", path: "src/scripts/ps/PacScheduledTask.ps1" config.vm.provision "shell", path: "src/scripts/ps/PacScheduledTask.ps1"
## Restart machine ## Restart machine
config.vm.provision "reboot", { config.vm.provision :shell do |shell|
:timeout => 20, # Timeout in seconds shell.privileged = true
} shell.inline = 'echo rebooting'
shell.reboot = true
end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment