TritonDataCenter / sdc-vmtools-lx-brand

The guest tools for lx-brand images
https://docs.joyent.com/images/container-native-linux
Mozilla Public License 2.0
7 stars 10 forks source link

Use /native/usr/bin/bash for all guest tools scripts? #26

Closed chorrell closed 5 years ago

chorrell commented 7 years ago

Most distributions we support come with bash as the default shell except for Alpine Linux. For the Alpine image we need to install bash in the image so the guest tools function. If we updated the shebang in all the scripts to use /native/usr/bin/bash we would no longer need to have bash installed as a dependency. So for instance if someone were to remove the bash package from an Alpine lx-brand instance, the guest tools scripts would be fine.

This will need some testing but offhand I don't see it causing any issues with the guest tools scripts.