-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If this works as expected, one test case should run under WSL1. Without the current patch that would block forever. With the launcher patch, cloud-init status --wait won't even run, so no hangs.
- Loading branch information
1 parent
bb72652
commit 472a2d8
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
e2e/launchertester/testdata/TestSetupWithCloudInit/do_not_block_on_wsl1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#cloud-config | ||
users: | ||
- name: nontestuser | ||
groups: sudo | ||
shell: /bin/bash | ||
sudo: ALL=(ALL) NOPASSWD:ALL | ||
- name: testuser | ||
groups: sudo | ||
shell: /bin/bash | ||
sudo: ALL=(ALL) NOPASSWD:ALL | ||
|
||
write_files: | ||
- path: /etc/wsl.conf | ||
append: true | ||
content: | | ||
[user] | ||
default=testuser | ||
|
||
runcmd: | ||
- touch /home/testuser/with_default_user.done |