diff --git a/hooks/ceph_hooks.py b/hooks/ceph_hooks.py index f777036043afe38be990239312e61096003a16a8..83f8b15974c005d25e173f04a1e54509896a7fce 100755 --- a/hooks/ceph_hooks.py +++ b/hooks/ceph_hooks.py @@ -574,7 +574,7 @@ CEPH_PERSITENT_STORTAGE_RULES = '/lib/udev/rules.d/60-persistent-storage.rules' def patch_persistent_storage_rules(): if os.path.isfile(CEPH_PERSITENT_STORTAGE_RULES): - check_call(['sed', '-i', 's/KERNEL!="loop/KERNEL!="dm*|loop']) + check_call(['sed', '-i', 's/KERNEL!="loop/KERNEL!="dm*|loop/']) log('Updated %s' % CEPH_PERSITENT_STORTAGE_RULES) else: log('Missing %s' % CEPH_PERSITENT_STORTAGE_RULES)