vagrant
vagrant copied to clipboard
Vagrant insecure key detected routine not working in Solaris guest
Vagrant version
2.2.16 (Latest rpm version for Fedora35)
Host operating system
- Fedora 35 (Workstation Edition)
- Vagrant VMware Desktop plugin version 3.0.1
- VMWare Workstation 16 Pro version 16.2.3 build-19376536
- Vagrant VMWare Utility version 1.0.21
Guest operating system
Solaris11.4
Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.boot_timeout = 1800
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.box_check_update = true
config.vm.box = "rbrunckhorst/solaris11.4"
["vmware_fusion", "vmware_workstation", "vmware_desktop"].each do |provider|
config.vm.provider provider do |v, override|
v.whitelist_verified = true
v.gui = false
v.vmx["cpuid.coresPerSocket"] = "1"
v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
end
end
end
Debug output
Relevant section: https://gist.github.com/rbrunckhorst/db392ca9016955a80a918ba5e9a07959
Expected behavior
The insecure key in ~/.ssh/authorized_keys should be replaced
Actual behavior
Error in sed command on Solaris: sed: illegal option -- i sed in Solaris has no inline option -i (it's not GNU, it is Posix sed !)
Steps to reproduce
Just create a new Solaris guest instance with vagrant.
References
#12740