diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-04-14 19:00:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-04-14 19:00:20 -0300 |
commit | 9218b68b29eee4bd7ea3a87483e8144db0cc08a2 (patch) | |
tree | af52eaa9dbf58d1e26f29ef921c265e3a08c67c7 /share/hydractl/provision | |
parent | 89cbd0068871748ff54b2c53c6121129d91c1b03 (diff) | |
download | hydra-9218b68b29eee4bd7ea3a87483e8144db0cc08a2.tar.gz hydra-9218b68b29eee4bd7ea3a87483e8144db0cc08a2.tar.bz2 |
Using ext4 instead of ext3
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-x | share/hydractl/provision | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 2d7676f..fc0e43e 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -110,11 +110,11 @@ if [ "$encrypt" == "y" ]; then echo "Creating encrypted root device..." hydra_safe_run cryptsetup -h sha256 -c aes-cbc-essiv:sha256 -s 256 luksFormat /dev/$vg/root hydra_safe_run cryptsetup luksOpen /dev/$vg/root debootstrap - hydra_safe_run mkfs.ext3 /dev/mapper/debootstrap + hydra_safe_run mkfs.ext4 /dev/mapper/debootstrap install_device="/dev/mapper/debootstrap" else echo "Creating root device..." - mkfs.ext3 /dev/vg/root + mkfs.ext4 /dev/vg/root install_device="/dev/vg/root" fi @@ -172,7 +172,7 @@ echo "Configuring fstab..." echo "" > /tmp/debootstrap/etc/fstab if [ "$encrypt" == "y" ]; then cat > /tmp/debootstrap/etc/fstab <<-EOF -/dev/mapper/root / ext3 defaults,errors=remount-ro 0 1 +/dev/mapper/root / ext4 defaults,errors=remount-ro 0 1 EOF fi @@ -185,9 +185,9 @@ fi # Grub. if [ "$grub" == "y" ]; then echo "Boot device setup..." - hydra_safe_run mkfs.ext3 $boot_device + hydra_safe_run mkfs.ext4 $boot_device hydra_safe_run mount $boot_device /tmp/debootstrap/boot - echo "$boot_device /boot ext3 defaults,errors=remount-ro 0 2" >> /tmp/debootstrap/etc/fstab + echo "$boot_device /boot ext4 defaults,errors=remount-ro 0 2" >> /tmp/debootstrap/etc/fstab echo "Setting up GRUB..." hydra_safe_run chroot /tmp/debootstrap/ apt-get install grub-pc -y |