Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 429a947cb9 | |||
| 12ee092bda |
-16
@@ -1,16 +0,0 @@
|
||||
# Ignore Vagrant working directory
|
||||
.vagrant/
|
||||
|
||||
# Ignore large Vagrant box files and images
|
||||
*.box
|
||||
*.img
|
||||
noble-server-cloudimg-arm64.img
|
||||
ubuntu-*.box
|
||||
|
||||
# Optional: Ignore other common system files
|
||||
*.log
|
||||
*.swp
|
||||
*.swo
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
repos:
|
||||
- repo: https://github.com/ashwin153/pre-commit-vagrant
|
||||
rev: v1.1.0
|
||||
hooks:
|
||||
- id: vagrant-validate
|
||||
@@ -0,0 +1 @@
|
||||
{"dependencies":[["racc",["~> 1.4"]],["nokogiri",[">= 0"]],["vagrant-parallels",["= 2.4.7"]],["vagrant-vmware-desktop",["= 3.0.5"]]],"checksum":"bda880323205a2179a2f8e0ce812b0b90f732cad5437390c49347d071a7a7210","vagrant_version":"2.4.9"}
|
||||
@@ -0,0 +1 @@
|
||||
1.5:0fac0b3a-1d44-4e82-ae4c-94e2bb58f24e
|
||||
@@ -0,0 +1 @@
|
||||
1756366117
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"bento/ubuntu-22.04","version":"202508.03.0","provider":"parallels","directory":"boxes/bento-VAGRANTSLASH-ubuntu-22.04/202508.03.0/arm64/parallels"}
|
||||
@@ -0,0 +1 @@
|
||||
501
|
||||
@@ -0,0 +1 @@
|
||||
0fac0b3a-1d44-4e82-ae4c-94e2bb58f24e
|
||||
@@ -0,0 +1 @@
|
||||
7da79dce5dd248389646d5d2f10c0952
|
||||
@@ -0,0 +1,8 @@
|
||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAA
|
||||
AAtzc2gtZWQyNTUxOQAAACBtbRVm/S3R79LI46zjLL1U5mcssW8OAuQ7sMeb
|
||||
AMoDXwAAAJD1JDKN9SQyjQAAAAtzc2gtZWQyNTUxOQAAACBtbRVm/S3R79LI
|
||||
46zjLL1U5mcssW8OAuQ7sMebAMoDXwAAAEBcCb8RRSin6mQgityah98d31J5
|
||||
JA7MZwgV4/U3iLMxkW1tFWb9LdHv0sjjrOMsvVTmZyyxbw4C5Duwx5sAygNf
|
||||
AAAAB3ZhZ3JhbnQBAgMEBQY=
|
||||
-----END OPENSSH PRIVATE KEY-----
|
||||
@@ -0,0 +1 @@
|
||||
{"parallels":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/Users/xchose/vagrant/para","disabled":false,"__vagrantfile":true}}}
|
||||
@@ -0,0 +1 @@
|
||||
/Users/xchose/vagrant/para
|
||||
@@ -0,0 +1 @@
|
||||
1.5:d188f064-60c9-4d5c-b213-9d41f53d6a83
|
||||
@@ -0,0 +1 @@
|
||||
1756367186
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"bento/ubuntu-22.04","version":"202508.03.0","provider":"parallels","directory":"boxes/bento-VAGRANTSLASH-ubuntu-22.04/202508.03.0/arm64/parallels"}
|
||||
@@ -0,0 +1 @@
|
||||
501
|
||||
@@ -0,0 +1 @@
|
||||
d188f064-60c9-4d5c-b213-9d41f53d6a83
|
||||
@@ -0,0 +1 @@
|
||||
fbc215c9adf044818edb0abf1629dcef
|
||||
@@ -0,0 +1,8 @@
|
||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAA
|
||||
AAtzc2gtZWQyNTUxOQAAACAtBN7H9y8n0wvvTQF1F/tf/55Q6DpBlJSA/+hm
|
||||
rRCGTgAAAJDUeA7b1HgO2wAAAAtzc2gtZWQyNTUxOQAAACAtBN7H9y8n0wvv
|
||||
TQF1F/tf/55Q6DpBlJSA/+hmrRCGTgAAAEBoKNrNIIkrzMfDHQ4zpdLIlP9w
|
||||
iwuZoZUi5RaKKzKs8i0E3sf3LyfTC+9NAXUX+1//nlDoOkGUlID/6GatEIZO
|
||||
AAAAB3ZhZ3JhbnQBAgMEBQY=
|
||||
-----END OPENSSH PRIVATE KEY-----
|
||||
@@ -0,0 +1 @@
|
||||
{"parallels":{"/vagrant":{"guestpath":"/vagrant","hostpath":"/Users/xchose/vagrant/para","disabled":false,"__vagrantfile":true}}}
|
||||
@@ -0,0 +1 @@
|
||||
/Users/xchose/vagrant/para
|
||||
@@ -0,0 +1,12 @@
|
||||
# Copyright (c) HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
# This file loads the proper rgloader/loader.rb file that comes packaged
|
||||
# with Vagrant so that encoded files can properly run with Vagrant.
|
||||
|
||||
if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]
|
||||
require File.expand_path(
|
||||
"rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
|
||||
else
|
||||
raise "Encoded files can't be read outside of the Vagrant installer."
|
||||
end
|
||||
@@ -1,3 +0,0 @@
|
||||
# README.md
|
||||
|
||||
https://chosesoft.eu/index.php/2026/01/23/vagrant-utm-minimal-box/
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.define "node01" do |node|
|
||||
node.vm.box = "bento/ubuntu-22.04"
|
||||
node.vm.provider "parallels" do |prl|
|
||||
prl.name = "node01" # Set the visible name of the VM in Parallels
|
||||
prl.memory = 4096 # Allocate 4 GB of RAM (in MB)
|
||||
prl.cpus = 4 # Allocate 4 CPU cores
|
||||
prl.check_guest_tools = true # Enable automatic checking/updating of Parallels Tools in the guest
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -1,9 +0,0 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "ubuntu-arm64-local"
|
||||
|
||||
# UTM provider configuration
|
||||
config.vm.provider "utm" do |utm|
|
||||
utm.memory = 2048 # 2GB RAM
|
||||
utm.cpus = 2 # 2 CPU cores
|
||||
end
|
||||
end
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
end
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"provider": "utm",
|
||||
"version": "1.0"
|
||||
}
|
||||
Vendored
-23
@@ -1,23 +0,0 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "utm/ubuntu-24.04"
|
||||
config.vm.hostname = "lake-lab01"
|
||||
|
||||
config.vm.provider :utm do |u|
|
||||
u.name = "lake lab01"
|
||||
u.cpus = 2
|
||||
u.memory = 2048
|
||||
end
|
||||
|
||||
config.vm.network "forwarded_port", guest: 8200, host: 8200
|
||||
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
set -eux
|
||||
apt-get update
|
||||
apt-get install -y ansible
|
||||
SHELL
|
||||
|
||||
config.vm.provision "ansible_local" do |ansible|
|
||||
ansible.playbook = "/vagrant/ansible/site.yaml"
|
||||
ansible.install = false
|
||||
end
|
||||
end
|
||||
@@ -1,102 +0,0 @@
|
||||
---
|
||||
- name: Install and configure OpenBao
|
||||
hosts: all
|
||||
connection: local
|
||||
become: true
|
||||
|
||||
vars:
|
||||
openbao_version: "2.5.0"
|
||||
openbao_arch: "Linux_arm64"
|
||||
openbao_zip: "bao_{{ openbao_version }}_{{ openbao_arch }}.tar.gz"
|
||||
openbao_url: "https://github.com/openbao/openbao/releases/download/v{{ openbao_version }}/{{ openbao_zip }}"
|
||||
|
||||
tasks:
|
||||
- name: Install packages
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- unzip
|
||||
- curl
|
||||
state: present
|
||||
update_cache: true
|
||||
|
||||
- name: Create OpenBao config dir
|
||||
ansible.builtin.file:
|
||||
path: /etc/openbao
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Create OpenBao data dir
|
||||
ansible.builtin.file:
|
||||
path: /opt/openbao/data
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Download OpenBao binary zip
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ openbao_url }}"
|
||||
dest: "/tmp/{{ openbao_zip }}"
|
||||
mode: "0644"
|
||||
|
||||
- name: Unarchive OpenBao binary
|
||||
ansible.builtin.unarchive:
|
||||
src: "/tmp/{{ openbao_zip }}"
|
||||
dest: /usr/local/bin/
|
||||
remote_src: true
|
||||
mode: "0755"
|
||||
|
||||
- name: Write OpenBao config
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/openbao/openbao.hcl
|
||||
mode: "0644"
|
||||
content: |
|
||||
ui = true
|
||||
disable_mlock = true
|
||||
|
||||
storage "file" {
|
||||
path = "/opt/openbao/data"
|
||||
}
|
||||
|
||||
listener "tcp" {
|
||||
address = "0.0.0.0:8200"
|
||||
tls_disable = true
|
||||
}
|
||||
|
||||
api_addr = "http://127.0.0.1:8200"
|
||||
|
||||
- name: Create systemd unit
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/systemd/system/openbao.service
|
||||
mode: "0644"
|
||||
content: |
|
||||
[Unit]
|
||||
Description=OpenBao
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/usr/local/bin/bao server -config=/etc/openbao/openbao.hcl
|
||||
ExecReload=/bin/kill --signal HUP $MAINPID
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
LimitNOFILE=65536
|
||||
MemorySwapMax=0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
notify: Restart OpenBao
|
||||
|
||||
- name: Enable and start OpenBao
|
||||
ansible.builtin.systemd:
|
||||
name: openbao
|
||||
enabled: true
|
||||
state: started
|
||||
daemon_reload: true
|
||||
|
||||
handlers:
|
||||
- name: Restart OpenBao
|
||||
ansible.builtin.systemd:
|
||||
name: openbao
|
||||
state: restarted
|
||||
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "utm/ubuntu-24.04"
|
||||
config.vm.hostname = "lake-lab01"
|
||||
config.vm.provider :utm do |u|
|
||||
u.name = "lake lab01"
|
||||
u.cpus = 2
|
||||
u.memory = 2048
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user