Do not use metadata checksums with ext4
Remove metadata_csum option when creating filesystems
since cirros doesn't support it.
This option was added in Debian stretch and Ubuntu bionic
as default and it breaks compatibility with filesystems
created with older versions.
(cherry picked from commit 4e086f9f0f)
Change-Id: I6772e455f5d1ee7587c2dc43203b02e5e54cb714
This commit is contained in:
@@ -51,4 +51,9 @@ RUN proxy.sh apt-get -y purge gcc-4.6 gcc python2.7-dev && \
|
||||
RUN rm -rf /tmp/ironic-python-agent
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Remove metadata_csum option when creating filesystems
|
||||
# since cirros doesn't support it.
|
||||
# This option was added in Debian stretch as default.
|
||||
RUN sed -i 's/,metadata_csum//g' /etc/mke2fs.conf
|
||||
|
||||
CMD [ "/usr/local/bin/ironic-python-agent" ]
|
||||
|
||||
Reference in New Issue
Block a user