Skip to content
Snippets Groups Projects
  • Iustin Pop's avatar
    Add a default PATH variable to OS scripts env · 9a6ade06
    Iustin Pop authored
    
    In commit 896a03f6 I cleaned up the environment for OS scripts,
    however I think that was a bit too extreme - it breaks our own
    instance-debootstrap hooks, because for example dpkg (called from the
    grub script) requires PATH to be set.
    
    Instead of requiring every OS to define a path, let's set a default
    PATH for the OS scripts, which should cover most common uses. A more
    specialised PATH can be set, if needed, in the OS scripts.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    9a6ade06