Skip to content

Commit acca4e1

Browse files
author
linsui
committedFeb 9, 2024
Fix Vagrantfile
1 parent b8a03e1 commit acca4e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Vagrantfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require 'tempfile'
77
require 'yaml'
88

99
srvpath = Pathname.new(File.dirname(__FILE__)).realpath
10-
configfile = YAML.load_file(File.join(srvpath, "/.gitlab-ci.yml"))
10+
configfile = YAML.safe_load_file(File.join(srvpath, "/.gitlab-ci.yml"), aliases: true)
1111
ci_project_dir = '/vagrant'
1212

1313
sourcepath = '/etc/profile.d/env.sh'
@@ -38,7 +38,7 @@ end
3838
script_file.rewind
3939

4040
Vagrant.configure("2") do |config|
41-
config.vm.box = "debian/buster64"
41+
config.vm.box = "debian/bookworm64"
4242
config.vm.network "forwarded_port", guest: 4000, host: 4000
4343
config.vm.provision "file", source: env_file.path, destination: 'env.sh'
4444
config.vm.provision :shell, inline: <<-SHELL

0 commit comments

Comments
 (0)
Please sign in to comment.