Skip to content

Commit 27ba578

Browse files
committed
Clean up vagrant files
1 parent 39d166b commit 27ba578

File tree

2 files changed

+2
-88
lines changed

2 files changed

+2
-88
lines changed

vagrant/ubuntu/Vagrantfile

Lines changed: 1 addition & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,7 @@
11
# -*- mode: ruby -*-
2-
# vi: set ft=ruby :
3-
4-
# All Vagrant configuration is done below. The "2" in Vagrant.configure
5-
# configures the configuration version (we support older styles for
6-
# backwards compatibility). Please don't change it unless you know what
7-
# you're doing.
82
Vagrant.configure("2") do |config|
9-
# The most common configuration options are documented and commented below.
10-
# For a complete reference, please see the online documentation at
11-
# https://docs.vagrantup.com.
12-
13-
# Every Vagrant development environment requires a box. You can search for
14-
# boxes at https://vagrantcloud.com/search.
15-
config.vm.box = "gusztavvargadr/ubuntu-desktop-2204-lts"
3+
config.vm.box = "gusztavvargadr/ubuntu-desktop-2404-lts"
164

175
config.vm.synced_folder "../../", "/mnt/derpiwallpaper"
186

19-
# Disable automatic box update checking. If you disable this, then
20-
# boxes will only be checked for updates when the user runs
21-
# `vagrant box outdated`. This is not recommended.
22-
# config.vm.box_check_update = false
23-
24-
# Create a forwarded port mapping which allows access to a specific port
25-
# within the machine from a port on the host machine. In the example below,
26-
# accessing "localhost:8080" will access port 80 on the guest machine.
27-
# NOTE: This will enable public access to the opened port
28-
# config.vm.network "forwarded_port", guest: 80, host: 8080
29-
30-
# Create a forwarded port mapping which allows access to a specific port
31-
# within the machine from a port on the host machine and only allow access
32-
# via 127.0.0.1 to disable public access
33-
# config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
34-
35-
# Create a private network, which allows host-only access to the machine
36-
# using a specific IP.
37-
# config.vm.network "private_network", ip: "192.168.33.10"
38-
39-
# Create a public network, which generally matched to bridged network.
40-
# Bridged networks make the machine appear as another physical device on
41-
# your network.
42-
# config.vm.network "public_network"
43-
44-
# Share an additional folder to the guest VM. The first argument is
45-
# the path on the host to the actual folder. The second argument is
46-
# the path on the guest to mount the folder. And the optional third
47-
# argument is a set of non-required options.
48-
# config.vm.synced_folder "../data", "/vagrant_data"
49-
50-
# Disable the default share of the current code directory. Doing this
51-
# provides improved isolation between the vagrant box and your host
52-
# by making sure your Vagrantfile isn't accessible to the vagrant box.
53-
# If you use this you may want to enable additional shared subfolders as
54-
# shown above.
55-
# config.vm.synced_folder ".", "/vagrant", disabled: true
56-
57-
# Provider-specific configuration so you can fine-tune various
58-
# backing providers for Vagrant. These expose provider-specific options.
59-
# Example for VirtualBox:
60-
#
61-
# config.vm.provider "virtualbox" do |vb|
62-
# # Display the VirtualBox GUI when booting the machine
63-
# vb.gui = true
64-
#
65-
# # Customize the amount of memory on the VM:
66-
# vb.memory = "1024"
67-
# end
68-
#
69-
# View the documentation for the provider you are using for more
70-
# information on available options.
71-
72-
# Enable provisioning with a shell script. Additional provisioners such as
73-
# Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
74-
# documentation for more information about their specific syntax and use.
75-
# config.vm.provision "shell", inline: <<-SHELL
76-
# apt-get update
77-
# apt-get install -y apache2
78-
# SHELL
797
end

vagrant/windows/Vagrantfile

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
# -*- mode: ruby -*-
2-
# vi: set ft=ruby :
32

4-
# Windows development VM for DerpiWallpaper
53
Vagrant.configure("2") do |config|
64
# Use a prebuilt Windows 11 box (VirtualBox provider supported)
7-
# Other options include: gusztavvargadr/windows-10 or windows-2022 for Server
85
config.vm.box = "gusztavvargadr/windows-11"
96

10-
# Explicitly mark guest type and communicator
11-
config.vm.guest = :windows
12-
config.vm.communicator = "winrm"
13-
14-
# Increase boot timeout; Windows boots can take longer
15-
config.vm.boot_timeout = 900
167

178
# Sync the repository into the guest
189
# On Windows guests, using VirtualBox shared folders avoids SMB credential prompts
19-
config.vm.synced_folder "../../", "C:/derpiwallpaper", type: "virtualbox"
10+
config.vm.synced_folder "../../", "C:/derpiwallpaper"
2011

2112
# Optional: forward RDP for convenience (GUI is usually shown by provider as well)
2213
# config.vm.network "forwarded_port", guest: 3389, host: 53389, auto_correct: true
@@ -28,10 +19,5 @@ Vagrant.configure("2") do |config|
2819
vb.memory = "4096"
2920
vb.cpus = 2
3021
end
31-
32-
# Example PowerShell provisioning (disabled by default)
33-
# config.vm.provision "shell", inline: <<-POWERSHELL
34-
# Write-Output "Windows VM ready for DerpiWallpaper"
35-
# POWERSHELL
3622
end
3723

0 commit comments

Comments
 (0)