vagrant: openindiana updates

This commit is contained in:
Thomas Waldmann 2024-04-01 20:22:30 +02:00
parent 6de9ca87cf
commit 4ff0ba48f8
No known key found for this signature in database
GPG Key ID: 243ACFA951F78E01
1 changed files with 4 additions and 2 deletions

6
Vagrantfile vendored
View File

@ -132,11 +132,13 @@ def packages_openindiana
return <<-EOF return <<-EOF
# needs separate provisioning step + reboot: # needs separate provisioning step + reboot:
#pkg update #pkg update
#pkg install gcc-7 python-39 setuptools-39 pkg install gcc-13 git pkg-config libxxhash
ln -sf /usr/bin/python3.9 /usr/bin/python3 ln -sf /usr/bin/python3.9 /usr/bin/python3
python3 -m ensurepip python3 -m ensurepip
ln -sf /usr/bin/pip3.9 /usr/bin/pip3 ln -sf /usr/bin/pip3.9 /usr/bin/pip3
pip3 install virtualenv pip3 install virtualenv
# let borg's pkg-config find openssl:
pfexec pkg set-mediator -V 3.1 openssl
EOF EOF
end end
@ -417,7 +419,7 @@ Vagrant.configure(2) do |config|
# rsync on openindiana has troubles, does not set correct owner for /vagrant/borg and thus gives lots of # rsync on openindiana has troubles, does not set correct owner for /vagrant/borg and thus gives lots of
# permission errors. can be manually fixed in the VM by: sudo chown -R vagrant /vagrant/borg ; then rsync again. # permission errors. can be manually fixed in the VM by: sudo chown -R vagrant /vagrant/borg ; then rsync again.
config.vm.define "openindiana64" do |b| config.vm.define "openindiana64" do |b|
b.vm.box = "openindiana" b.vm.box = "openindiana/hipster"
b.vm.provider :virtualbox do |v| b.vm.provider :virtualbox do |v|
v.memory = 2048 + $wmem v.memory = 2048 + $wmem
end end