The post customization has both "root" and "vagrant" hard-coded.
|
let cmd = `(grep -qF -- "${LINE}" "${FILE}" || echo "${LINE}" | sudo tee -a "${FILE}"); sudo usermod -a -G vboxsf vagrant`; |
|
await util.sshExec(cmd, {port, user: 'vagrant', private_key: sshKeyPath}, 60000, verbose); |
The post customization has both "root" and "vagrant" hard-coded.
node-virtualbox/lib/VBoxProvider.js
Lines 263 to 264 in 9e4546c