Commit graph

9 commits

Author SHA1 Message Date
Krikchai Pongtaveewould
685fa2e0f1
Fix: common-utils configureZshAsDefaultShell option not working on alpine linux image (#557)
* alpine defaultZsh fix

* common-utils: replace pam.d/chsh permission with `sufficient`

* common-utils: revert match auth sufficient

* common-utils: append auth string instead of replacing a whole file

* fix grep 2nd param

* fix: line checking condition
2023-08-02 15:12:14 -07:00
Stephen A. Imhoff
1869e5931c
Create .config directory in common-utils (#547)
* Add test case for mounted subdirectory.

* Correct some trailing whitespace.

* Correct variable name to better reflect status as user home path.

* Add config directory creation.

* Remove extra debug line.

* Bump feature version.

* Mount host user home directory as "subdirectory"

* Correct test naming, run test in explicit bash shell.
2023-05-10 10:04:16 -07:00
Samruddhi Khandale
e67f4dc0fd
Common-utils: Fix build failures for alpine 3.14 & 3.15 (#393)
* Common-utils: Fix build failures for alpine 3.14 & 3.15

* version bump
2023-01-10 15:09:56 -08:00
eitsupi
7e32db56c0
[common-utils] Fix permission of scripts in containers (#388)
* fix permission in containers

* add test

* bump version

* more tests

* update tests

* Update test/common-utils/devcontainer-info/Dockerfile

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Update test/common-utils/scenarios.json

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Update scenarios.json

* Update devcontainer-info.sh

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2023-01-10 13:50:09 -08:00
Samruddhi Khandale
29babe4245 fix test 2022-12-27 18:35:13 +00:00
Mark Phippard
fede405549
Add support for mariner (#344) 2022-12-19 11:25:32 -05:00
Chuck Lantz
bf058dc494
Multi-distro support for common script, refactor, fixes (#326) 2022-12-16 09:47:21 -08:00
Jacob Woffenden
aae9de7ebc
Change default shell if installing ZSH (#325)
* Added new option to configure zsh as default shell
Added test scenario
Bumped feature version

* Update test/common-utils/scenarios.json

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Update src/common-utils/devcontainer-feature.json

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Update test/common-utils/configure_zsh_as_default_shell.sh

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2022-12-09 14:08:20 -08:00
Samruddhi Khandale
69d3df5f94
Rename feature: 'common' to 'common-utils' (#79)
* Renaming feature: 'common' to 'common-utils'

* removing duplicate tests
2022-08-05 18:11:46 +00:00