Mount ext3 filesystems as ext4 on single use slaves
It has been suggested that tests may be happier with ext4 instead of ext3 on the test slaves. At the end of building an image for single use slaves modify fstab so that when slaves are booted with the image they mount / as ext4. Related-Bug: 1273386 Change-Id: I88409e734b1599a5517abfd9d76c7fd622c01bb5
This commit is contained in:
parent
eccd20e38c
commit
883ac71cf5
@ -39,5 +39,9 @@ fi
|
||||
sudo mkdir -p /opt/git
|
||||
sudo -i python /opt/nodepool-scripts/cache_git_repos.py
|
||||
|
||||
# We don't always get ext4 from our clouds, mount ext3 as ext4 on the next
|
||||
# boot (eg when this image is used for testing).
|
||||
sudo sed -i 's/ext3/ext4/g' /etc/fstab
|
||||
|
||||
sync
|
||||
sleep 5
|
||||
|
Loading…
x
Reference in New Issue
Block a user