remove support for data disks
This commit is contained in:
parent
1a387f3f62
commit
e646053552
3 changed files with 2 additions and 37 deletions
|
@ -39,29 +39,9 @@ runcmd:
|
|||
- dhclient
|
||||
- locale-gen
|
||||
|
||||
%{ if data_disk }
|
||||
device_aliases:
|
||||
data: /dev/vdb
|
||||
disk_setup:
|
||||
data:
|
||||
table_type: 'gpt'
|
||||
layout: true
|
||||
overwrite: false
|
||||
fs_setup:
|
||||
- label: 'data'
|
||||
filesystem: 'ext4'
|
||||
device: data.1
|
||||
overwrite: false
|
||||
%{ endif }
|
||||
|
||||
%{ if data_disk || add_data_share }
|
||||
mounts:
|
||||
%{ if data_disk }
|
||||
- ["data.1", "/mnt/data"]
|
||||
%{ endif }
|
||||
%{ if add_data_share }
|
||||
- ["data", "/mnt/data", "9p", "trans=virtio,rw,_netdev", "0", "0"]
|
||||
%{ endif }
|
||||
mounts:
|
||||
- ["data", "/mnt/data", "9p", "trans=virtio,rw", "0", "0"]
|
||||
%{ endif }
|
||||
|
||||
%{ if fixed_dns != "" }
|
||||
|
|
Reference in a new issue