summaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-28 23:17:36 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-28 23:17:36 -0200
commite22c810fb82d5411634b6cf8015a4e8ed76b629d (patch)
treec63325253a86a72fa9c7bb1d0fc361a24581019b /share/hydractl/provision
parent2b2ddafc439311be2743e38481d7bdd05e0d5006 (diff)
downloadhydra-e22c810fb82d5411634b6cf8015a4e8ed76b629d.tar.gz
hydra-e22c810fb82d5411634b6cf8015a4e8ed76b629d.tar.bz2
Give some time to lvm
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-xshare/hydractl/provision1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 86a1bd8..07d1435 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -140,6 +140,7 @@ if ! vgdisplay $vg &> /dev/null; then
hydra_safe_run vgcreate $vg $syst_device
fi
+sleep 5
hydra_safe_run vgchange -a y $vg
hydra_lvcreate root $root_size
hydra_lvcreate home $home_size