Koleksi template vagrant untuk keperluan belajar dan pengembangan.
Salin template ke direktori deployment
lalu jalankan vagrant up
.
NOTE: UBAH KONFIGURASI vb.name
SEBELUM MENJALANKAN
# Contoh untuk menjalankan jika menggunakan shell `bash`
cp -r alpine312 deployment/alpine312-project0
cd deployment/alpine312-project0
# ubah konfigurasi `vb.name``
vagrant up
# Contoh untuk mematikan
cd deployment/alpine312-project0
vagrant halt
Konfigurasi default seluruh template, kecuali didefinisikan berbeda pada bagian Daftar Template
.
- provider:
virtualbox
- network:
bridge
- shared directory:
- host:
./shared_data
- guest:
/vagrant_data
- host:
- memory:
1024
- cpu:
1
- default name:
alpine312
- box:
generic/alpine312
- hostname:
alpine312.local
- default name:
centos7
- box:
centos/7
- hostname:
centos7.local
- shared directory:
no shared directory!
- default name:
bullseye64
- box:
debian/bullseye64
- hostname:
bullseye.local
- default name:
fedora35
- box:
fedora/35-cloud-base
- hostname:
fedora35.local
- default name:
rockylinux8
- box:
rockylinux/8
- hostname:
rockylinux8.local
- default name:
xenial
- box:
bento/ubuntu-16.04
- hostname:
xenial.local
- memory:
2048
- cpu:
2
- default name:
jammy
- box:
bento/ubuntu-22.04
- hostname:
jammy.local
- memory:
2048
- cpu:
2