Pass to parted parameters based on fs type.
Even if the partiton type was specified as something different from ext4 parted was passed ext4 parameters. Change-Id: Ia2905d0b1acacc07ab2fb0363a4d45bff0a93f4e
This commit is contained in:
parent
cd6f7d0146
commit
5b7affa58e
@ -61,7 +61,7 @@
|
||||
filesystem:
|
||||
fstype: "{{ bootstrap_host_data_disk_fs_type }}"
|
||||
dev: "/dev/{{ _bootstrap_host_data_disk_device }}1"
|
||||
opts: "{{ bootstrap_host_format_options['ext4'] | default(omit) }}"
|
||||
opts: "{{ bootstrap_host_format_options[bootstrap_host_data_disk_fs_type] | default(omit) }}"
|
||||
when:
|
||||
- bootstrap_host_data_disk_device_force | bool
|
||||
tags:
|
||||
|
Loading…
Reference in New Issue
Block a user