MAAS 1.8에서 LVM 기반 노드를 생성하는 방법

MAAS 1.8에서 LVM 기반 노드를 생성하는 방법

WebGUI에 debian-installer 배포 방법이 없다는 것은 정말 놀라운 일이었지만 MAAS cli/API는 이를 새로운 옵션으로 얻었습니다.

또한 소스의 메모에 따르면 이 기능이 더 이상 사용되지 않는다는 것을 깨달았습니다.

    :param boot_type: The installation type of the node. 'fastpath': use
        the default installer. 'di' use the debian installer.
        Note that using 'di' is now deprecated and will be removed in favor
        of the default installer in MAAS 1.9.

LVM이 필요한 일부 노드를 관리하고 싶습니다. debian-installer를 사용하면 됩니다. fastpath를 사용하여 LVM 기반 파티셔닝을 배포할 수 있는 방법이 있습니까?

감사해요.

답변1

사전 설정 옵션이 아직 남아 있는 것 같습니다. 기본값은 다음과 같습니다.

d-i     partman/early_command string debconf-set partman-auto/disk `list-devices disk | head -n1`
d-i     partman-iscsi/mainmenu string finish
d-i     partman-auto/method string regular
d-i     partman-lvm/device_remove_lvm boolean true
d-i     partman-lvm/confirm boolean true
d-i     partman-md/device_remove_md boolean true
d-i     partman/confirm_write_new_label boolean true
d-i     partman/choose_partition        select Finish partitioning and write changes to disk
d-i     partman/confirm boolean true
d-i     partman/confirm_nooverwrite boolean true
d-i     partman/default_filesystem string ext4

필요에 따라 이를 조정할 수 있어야 합니다.

관련 정보