Skip to content

Commit 23c08fc

Browse files
authored
Avoid requesting a password change on first vagrant login (Parallels#65)
That prevented Vagrant from configuring the box.
1 parent 4602bcd commit 23c08fc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

kali-linux/build.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ build {
6969
"USERNAME=${local.username}",
7070
]
7171
scripts = [
72-
"${path.root}/../scripts/kali-linux/base/password_change.sh",
72+
"${path.root}/../scripts/kali-linux/base/remove_password.sh",
7373
]
7474

7575
execute_command = "echo 'kali-linux' | {{ .Vars }} sudo -S -E sh -eux '{{ .Path }}'"

scripts/kali-linux/base/password_change.sh

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh -eux
2+
3+
passwd --delete $USERNAME

0 commit comments

Comments
 (0)