Skip to content

icecmach/vagrant-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant & Packer Builds

This repository contains automated build scripts for creating Oracle Linux 9 and 10 Vagrant boxes using Packer, along with ready-to-use Vagrant configurations for provisioning local environments.

It is intended to create consistent and reproducible Oracle Linux environments and others.

📁 Repository Structure

├── packer
│   ├── build
│   └── templates
│       ├── http
│       └── scripts
└── vagrant
    ├── oracle-database
    │   └── 19c
    │       ├── ora-response
    │       ├── scripts
    │       ├── software
    │       └── userscripts
    ├── oracle-linux
    │   ├── ol10
    │   └── ol9
    └── postgres
        ├── current
        │   └── almalinux
        │       └── scripts
        └── latest
            └── almalinux
                ├── scripts
                └── software
  • packer/ — Packer templates and provisioning scripts for building the base Vagrant boxes
  • vagrant/ — Vagrantfiles referencing the locally-built boxes

Requirements

🔧 Building the Oracle Linux Boxes with Packer

To build a box:

cd packer
./build_ol9_box.sh

The resulting .box file will be created in the build/ directory and will be add as a vagrant box

💻 Using the Vagrant Builds

Navigate to the Vagrant environment:

cd vagrant/ol9

# Start the VM
vagrant up

# SSH into the VM
vagrant ssh

# To stop or destroy
vagrant halt
vagrant destroy -f

⚙️ Customization

The following can be customized by modifying the files under packer/templates or the respective Vagrantfile:

  • VM resources (CPU, RAM)
  • Networking
  • Provisioning scripts (shell, Ansible, etc.)
  • Packer kickstart and build options

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published