Skip to content

Commit

Permalink
fixed script
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Nov 30, 2023
1 parent c645dd4 commit 6059397
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ def create_userdata(
additional_keys: list[str],
) -> str:

unlock_ubuntu_user_script = "\npasswd -u ubuntu\n"
unlock_ubuntu_user_script = "#!/bin/bash\npasswd -u ubuntu\n"
unlock_ubuntu_user_script_encoded = encodeutils.safe_encode(
unlock_ubuntu_user_script.encode("utf-8")
)
Expand Down

0 comments on commit 6059397

Please sign in to comment.