mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Fix typo in AdjustExpandRootScript
This commit fixes a typo in common.tasks.initd.AdjustExpandRootScript (a missing double-quote in the search regex) that rendered it ineffective.
This commit is contained in:
parent
d78e36ee3c
commit
3410118250
1 changed files with 1 additions and 1 deletions
|
@ -61,4 +61,4 @@ class AdjustExpandRootScript(Task):
|
|||
script = os.path.join(info.root, 'etc/init.d/expand-root')
|
||||
root_idx = info.volume.partition_map.root.get_index()
|
||||
device_path = 'device_path="/dev/xvda{idx}"'.format(idx=root_idx)
|
||||
sed_i(script, '^device_path="/dev/xvda$', device_path)
|
||||
sed_i(script, '^device_path="/dev/xvda"$', device_path)
|
||||
|
|
Loading…
Add table
Reference in a new issue