This commit is contained in:
louiscklaw
2025-01-31 19:24:01 +08:00
parent 1d3678b2fb
commit 4afadb4bfd
54 changed files with 2604 additions and 0 deletions

View File

@@ -0,0 +1 @@
{"dependencies":[["ipaddr",[">= 1.2.4"]],["rubyntlm",["~> 0.6.0",">= 0.6.3"]],["nori",["~> 2.0"]],["multi_json",["~> 1.14"]],["little-plugger",["~> 1.1"]],["logging",[">= 1.6.1","< 3.0"]],["httpclient",["~> 2.2",">= 2.2.0.2"]],["rexml",["~> 3.2"]],["builder",[">= 2.1.2"]],["gyoku",["~> 1.0"]],["ffi",["~> 1.9"]],["gssapi",["~> 1.2"]],["erubi",[">= 0"]],["winrm",[">= 2.3.6","< 3.0"]],["rubyzip",["~> 2.3.2"]],["winrm-fs",[">= 1.3.5","< 2.0"]],["winrm-elevated",[">= 1.2.3","< 2.0"]],["wdm",["~> 0.1.1"]],["log4r",["~> 1.1.9","< 1.1.11"]],["excon",["~> 0.73"]],["vagrant_cloud",["~> 3.1.1"]],["pairing_heap",[">= 0.3.0"]],["stream",["~> 0.5.3"]],["rgl",["~> 0.5.10"]],["rb-kqueue",["~> 0.2.0"]],["net-ssh",["~> 7.0"]],["net-scp",["~> 4.0"]],["net-sftp",["~> 4.0"]],["date",[">= 0"]],["time",[">= 0"]],["io-wait",[">= 0"]],["timeout",[">= 0"]],["net-protocol",[">= 0"]],["net-ftp",["~> 0.2"]],["mime-types-data",["~> 3.2015"]],["mime-types",["~> 3.3"]],["rb-inotify",["~> 0.9",">= 0.9.10"]],["rb-fsevent",["~> 0.10",">= 0.10.3"]],["listen",["~> 3.7"]],["concurrent-ruby",["~> 1.0"]],["i18n",["~> 1.12"]],["hashicorp-checkpoint",["~> 0.1.5"]],["google-protobuf",["~> 3.23"]],["googleapis-common-protos-types",["~> 1.3"]],["grpc",["~> 1.56.0"]],["ed25519",["~> 1.3.0"]],["childprocess",["~> 4.1.0"]],["bcrypt_pbkdf",["~> 1.1"]],["vagrant",[">= 1.9.2"]],["netrc",["~> 0.8"]],["domain_name",["~> 0.5"]],["http-cookie",[">= 1.0.2","< 2.0"]],["http-accept",[">= 1.7.0","< 2.0"]],["rest-client",[">= 1.6.0"]],["vagrant-share",["= 2.0.0"]]],"checksum":"1ae33a57574240b0c1da847fb943e2eec9d44bbee4792fb20a14462bc766d076","vagrant_version":"2.4.1"}

View File

@@ -0,0 +1 @@
1.5:cb3e5e76-03f3-48ba-9686-2671cb60aa3b

View File

@@ -0,0 +1 @@
{"name":"ubuntu/jammy64","version":"20240417.0.0","provider":"virtualbox","directory":"boxes/ubuntu-VAGRANTSLASH-jammy64/20240417.0.0/virtualbox"}

View File

@@ -0,0 +1 @@
cb3e5e76-03f3-48ba-9686-2671cb60aa3b

View File

@@ -0,0 +1 @@
2198e36e6f2b4f3483c39f13b7ab405f

View File

@@ -0,0 +1,8 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAA
AAtzc2gtZWQyNTUxOQAAACAIKEfG3PaOX2SXKEgj9m2wF9oT+Tm38WRa3P3k
2wvIrQAAAJCDuT7Gg7k+xgAAAAtzc2gtZWQyNTUxOQAAACAIKEfG3PaOX2SX
KEgj9m2wF9oT+Tm38WRa3P3k2wvIrQAAAEC70ZbHu/ean0p89XwO0ebyTGfR
O7GXhZ0U8uww7SYCiwgoR8bc9o5fZJcoSCP2bbAX2hP5ObfxZFrc/eTbC8it
AAAAB3ZhZ3JhbnQBAgMEBQY=
-----END OPENSSH PRIVATE KEY-----

View File

@@ -0,0 +1 @@
{"virtualbox":{"/vagrant_data":{"guestpath":"/vagrant_data","hostpath":"D:/_workspace/comission-playlist/ahhim526/_ref/vagrant_helloworld/data","disabled":false,"__vagrantfile":true},"/vagrant":{"guestpath":"/vagrant","hostpath":"D:/_workspace/comission-playlist/ahhim526/_ref/vagrant_helloworld","disabled":false,"__vagrantfile":true}}}

View File

@@ -0,0 +1 @@
D:/_workspace/comission-playlist/ahhim526/_ref/vagrant_helloworld

View File

@@ -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

View File

@@ -0,0 +1,80 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
config.vm.box = "ubuntu/jammy64"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# NOTE: This will enable public access to the opened port
config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine and only allow access
# via 127.0.0.1 to disable public access
# config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder "./data", "/vagrant_data"
# Disable the default share of the current code directory. Doing this
# provides improved isolation between the vagrant box and your host
# by making sure your Vagrantfile isn't accessible to the vagrant box.
# If you use this you may want to enable additional shared subfolders as
# shown above.
# config.vm.synced_folder ".", "/vagrant", disabled: true
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
vb.memory = "2048"
end
#
# View the documentation for the provider you are using for more
# information on available options.
# Enable provisioning with a shell script. Additional provisioners such as
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install -y apache2
hostnamectl set-hostname louistest-vm
SHELL
end

View File

@@ -0,0 +1 @@
3

View File

@@ -0,0 +1,9 @@
vagrant init hashicorp/bionic64
vagrant box add hashicorp/bionic64
vagrant up
vagrant ssh
vagrant destroy
vagrant box list
vagrant box remove hashicorp/bionic64
vagrant plugin install vagrant-share
vagrant share

View File

@@ -0,0 +1,5 @@
vagrant destroy -f
vagrant up
@REM vagrant plugin install vagrant-share
echo "done"