← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1992839] Re: Wrong order between runcmd and packages

 

** Changed in: cloud-init
       Status: Incomplete => Invalid

-- 
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:
  Invalid

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



References