cloud-init: add xfs support
This commit is contained in:
parent
8934558abf
commit
6f404ed214
@ -15,6 +15,7 @@ let
|
|||||||
]
|
]
|
||||||
++ optional cfg.btrfs.enable btrfs-progs
|
++ optional cfg.btrfs.enable btrfs-progs
|
||||||
++ optional cfg.ext4.enable e2fsprogs
|
++ optional cfg.ext4.enable e2fsprogs
|
||||||
|
++ optional cfg.xfs.enable xfsprogs
|
||||||
;
|
;
|
||||||
settingsFormat = pkgs.formats.yaml { };
|
settingsFormat = pkgs.formats.yaml { };
|
||||||
cfgfile = settingsFormat.generate "cloud.cfg" cfg.settings;
|
cfgfile = settingsFormat.generate "cloud.cfg" cfg.settings;
|
||||||
@ -57,6 +58,14 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xfs.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = mdDoc ''
|
||||||
|
Allow the cloud-init service to operate `xfs` filesystem.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
network.enable = mkOption {
|
network.enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user