-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hidden command to install the guest components #2028
base: master
Are you sure you want to change the base?
Conversation
f356704
to
23fd254
Compare
840e377
to
62b2ec1
Compare
62b2ec1
to
a63be72
Compare
This command is a replacement for It also saves having a copy of the lima-guestagent and nerdctl-full.tgz, in the instance dir...
The --rsync flag is mostly a workaround for slow networks and slow machines, and optional.
|
a63be72
to
fbe61db
Compare
Rebased to lima v0.21.0, tested with nerdctl-full v1.7.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, and sorry for taking too long time to review
Could you rebase to rerun the CI? |
ping @afbjorklund |
You can scope this out from the 0.22 release |
fbe61db
to
12e678b
Compare
Changed to use temporary filenames for the copy, and remove them after installation. This makes the rsync flag less useful, so we need some other method to skip updates... |
782ea09
to
51ff953
Compare
Removed the rsync flag, since it is now useless when using temporary filenames. |
This comment was marked as resolved.
This comment was marked as resolved.
51ff953
to
09f474a
Compare
0348ec6
to
d2007e1
Compare
This command is only needed when not using cidata.iso, so it goes together with PR #2000 (but it is stand-alone) The user would still have to start the guestagent and containerd services, the command only installs the binaries. |
d2007e1
to
17b943a
Compare
17b943a
to
800ec34
Compare
Signed-off-by: Anders F Björklund <[email protected]>
This will install the lima-guestagent in the instance. It will install nerdctl-full.tgz, if it has been enabled. Signed-off-by: Anders F Björklund <[email protected]>
Signed-off-by: Anders F Björklund <[email protected]>
Signed-off-by: Anders F Björklund <[email protected]>
800ec34
to
34d498e
Compare
This will install the
lima-guestagent
in the instance.It will install
nerdctl-full.tgz
, if it has been enabled.Normally this is done by cidata, during the first boot...
Here it is just using
scp
andssh
, for convenience.Workaround for:
Something like:
It could have been a shell script.
But the code "knows" the paths...