Skip to content

prastamaha/reuni-nolsatu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant project example

Prerequisites

  1. vagrant installed
  2. virtualbox installed
  3. clone repository
git clone https://github.com/prastamaha/reuni-nolsatu.git
cd reuni-nolsatu
  1. download box
vagrant box add hashicorp/bionic64 https://app.vagrantup.com/hashicorp/boxes/bionic64/versions/1.0.282/providers/virtualbox.box 
  1. run example
cd example1
vagrant up
vagrant status
vagrant ssh
  1. destroy
cd example1
vagrant destroy

Link:

  • box: singlebox (hashicorp/bionic64)
  • provider: virtualbox (cpu: 2, memory: 2048)
  • network: private_network (dhcp)
  • box: singlebox (hashicorp/bionic64)
  • provider: virtualbox (cpu: 2, memory: 2048)
  • network: forwarded_port (host: 8080, guest: 80)
  • sync: host=~/html , guest=/var/www/html
  • provision: shell (install nginx)
  • box: singlebox (hashicorp/bionic64)
  • provider: virtualbox (cpu: 2, memory: 2048)
  • network: private_network (10.0.0.10)
  • sync: host=~/html , guest=/var/www/html
  • provision: ansible (install nginx)
  • box: multi-machine (hashicorp/bionic64)
  • provider: virtualbox (cpu: 2, memory: 2048)
  • network: private_network (vm1: 10.0.0.10, vm2: 10.0.0.20)
  • box: multi-machine (hashicorp/bionic64)
  • provider: virtualbox (cpu: 2, memory: 2048)
  • network: private_network (based on number_of_vm)
  • plugin: vagrant-hostmanager
  • box: multi-machine (hashicorp/bionic64)
  • provision: ansible (setup kubernetes master with 1 master, N worker)
  • provider: virtualbox (cpu: 2, memory: 2048)
  • network: private_network (based on 192.168.50.N)

Releases

No releases published

Packages

No packages published

Languages