How to add additional command or additional package in k3os? #798
Replies: 3 comments
-
k3OS is not meant to be a traditionally multi-user operating system. The |
Beta Was this translation helpful? Give feedback.
-
Okay got it. Also Is there any way to add command or any package in existing k3os? If yes then please guide me. |
Beta Was this translation helpful? Give feedback.
-
You can either statically compile it (recommended) or build it with dynamic linking in an alpine 3.12 container and copy it (along with any dependent libs not already included in the base install) over to your k3OS system(s). Alternatively, consider a custom build of k3OS (see images/00-base/Dockerfile). If you are looking to install a package the you will have to copy the binary and any other support files onto your k3OS system(s). What this looks like depends on the package. |
Beta Was this translation helpful? Give feedback.
-
Hello Team,
We have created K3OS OS images from the packer and created a virtual machine and hosted them in a virtual environment. We are looking for a password reset option in the existing machine for rancher user to force to change password at first login. We haven't found any change and passwd command. Also, we have realized that passwd is linked to busybox command. It doesn't have passwd -e option? How to proceed further? Is there any way to add/install additional packages so that we can use either chage or passwd -e option? Please suggest.
Beta Was this translation helpful? Give feedback.
All reactions