diff options
author | Zuul <zuul@review.opendev.org> | 2022-10-17 23:46:05 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-10-17 23:46:05 +0000 |
commit | a1670753a23a79b6536f67eae9cca154e0ed2e65 (patch) | |
tree | 7b5c7e62124c7e1bfb01764b115c52d3ff67da07 /ironic_python_agent/extensions/image.py | |
parent | 929ae3dd28a8938e05157e8a48983f133ea4b188 (diff) | |
parent | 0bf579c955477da9a43e546703146b8b2b24d05f (diff) | |
download | ironic-python-agent-9.2.0.tar.gz |
Merge "Fix failure of bind mount in _install_grub2"9.2.0bugfix/9.2
Diffstat (limited to 'ironic_python_agent/extensions/image.py')
-rw-r--r-- | ironic_python_agent/extensions/image.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ironic_python_agent/extensions/image.py b/ironic_python_agent/extensions/image.py index de880f84..46be48c2 100644 --- a/ironic_python_agent/extensions/image.py +++ b/ironic_python_agent/extensions/image.py @@ -425,6 +425,7 @@ def _mount_for_chroot(path): LOG.debug('Mounting Linux standard partitions for bootloader ' 'configuration generation') for fs in BIND_MOUNTS: + utils.execute('mkdir', '-p', path + fs) utils.execute('mount', '-o', 'bind', fs, path + fs) utils.execute('mount', '-t', 'sysfs', 'none', path + '/sys') |