libqa: Switch to XFS by default for /
Docker tends to trigger kernel panics in fallocate with ext4, and XFS is the RHEL7 default.
This commit is contained in:
parent
e3264d9c6c
commit
fbfabf8574
@ -165,8 +165,8 @@ function createDisk(diskpath, cancellable, params) {
|
||||
gfHandle.mkswap_U(SWAP_UUID, "/dev/sda" + swapPartitionOffset);
|
||||
}
|
||||
let rootPartition = "/dev/sda" + rootPartitionOffset;
|
||||
gfHandle.mkfs("ext4", rootPartition, null);
|
||||
gfHandle.set_e2uuid(rootPartition, ROOT_UUID);
|
||||
gfHandle.mkfs("xfs", rootPartition, null);
|
||||
gfHandle.xfs_admin(rootPartition, new Guestfs.XfsAdmin({ "uuid": ROOT_UUID}));
|
||||
gfHandle.mount(rootPartition, "/");
|
||||
gfHandle.mkdir_mode("/boot", 493);
|
||||
if (bootPartitionOffset > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user