Thursday, March 12, 2015

Vagrant, Proxy issue, centos local repo and ad-hoc testing

Vagrant is a good VM automation tool for both developers and devops, here are some basic tips that I found useful

Proxy
   if you are stand behind a proxy, you can install one vagran proxy module. the module will setup the proxy on guest machines, like yum.conf, http_proxy variable etc.
here is the plugin https://github.com/tmatilai/vagrant-proxyconf

image

 

when you boot up the vm, you can see the proxy setting applied depends on your OS type

image

Yum Repo.
   you might have one local repo in the company, you can either build all boxes internally which already assign the repo url to local. or just copy one repo to override the system one by using the provisioning scripts.

image

image

and in your local file, change the ip to internal one

image

Provision scripts to check whether package installed or not. using rpm to query package or use command to determine whether a command exists

image

1 comment:

ilanifaeth said...

Casinos Near Me - 2021 All You Need to Know - MapYRO
Search for 이천 출장마사지 Casinos Near Me in New 전주 출장마사지 Jersey. Mapyro has the most 강원도 출장샵 comprehensive 구미 출장안마 list of 여주 출장마사지 land-based casinos in the United States.

 
Locations of visitors to this page