mirror of
https://github.com/elasticdog/packer-arch.git
synced 2026-07-18 00:45:20 +00:00
Change ssh user to vagrant
It seems that the default installation of ssh package prevents root access via ssh. Use vagrant user instead.
This commit is contained in:
parent
d2b248979a
commit
d3dd9bc752
1 changed files with 4 additions and 4 deletions
|
|
@ -22,9 +22,9 @@
|
|||
],
|
||||
"disk_size": 20480,
|
||||
"hard_drive_interface": "sata",
|
||||
"ssh_username": "root",
|
||||
"ssh_username": "vagrant",
|
||||
"ssh_password": "vagrant",
|
||||
"shutdown_command": "systemctl start poweroff.timer"
|
||||
"shutdown_command": "sudo systemctl start poweroff.timer"
|
||||
},
|
||||
{
|
||||
"type": "vmware-iso",
|
||||
|
|
@ -40,9 +40,9 @@
|
|||
"/usr/bin/bash ./install-vmware.sh<enter>"
|
||||
],
|
||||
"disk_size": 20480,
|
||||
"ssh_username": "root",
|
||||
"ssh_username": "vagrant",
|
||||
"ssh_password": "vagrant",
|
||||
"shutdown_command": "systemctl start poweroff.timer"
|
||||
"shutdown_command": "sudo systemctl start poweroff.timer"
|
||||
}
|
||||
],
|
||||
"post-processors": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue