Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different hard-coded users #43

Open
chrisparnin opened this issue Jun 20, 2019 · 0 comments
Open

Different hard-coded users #43

chrisparnin opened this issue Jun 20, 2019 · 0 comments

Comments

@chrisparnin
Copy link
Contributor

chrisparnin commented Jun 20, 2019

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant