yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89849
[Bug 1992839] [NEW] Wrong order between runcmd and packages
Public bug reported:
Hi,
I'm currently writing cloud-init scripts for LXD machines.
My plan was to
1. install a package with the packages: config in user-data and
2. then use a binary from this package in a runcmd.
Doesn't work, because runcmd runs before packages, thus the binary is still not yet existent. Shortly after, it gets successfully installed, but that's too late.
I did not find anything in the docs about how to run installation
commands after package installation.
regards
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1992839
Title:
Wrong order between runcmd and packages
Status in cloud-init:
New
Bug description:
Hi,
I'm currently writing cloud-init scripts for LXD machines.
My plan was to
1. install a package with the packages: config in user-data and
2. then use a binary from this package in a runcmd.
Doesn't work, because runcmd runs before packages, thus the binary is still not yet existent. Shortly after, it gets successfully installed, but that's too late.
I did not find anything in the docs about how to run installation
commands after package installation.
regards
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1992839/+subscriptions
Follow ups