我已遵循此处的说明:
https://maas.ubuntu.com/docs/os-support.html#generated-images-vs-custom-images
运行这些命令后:
sudo apt-add-repository ppa:maas-maintainers/stable
sudo apt-get install maas-image-builder
我收到以下错误:
E: Unable to locate package maas-image-builder
有什么帮助吗?非常感谢!
答案1
我遵循的粗略步骤使其工作。请注意,图像生成器似乎不在主要区域中,或者至少我遇到了问题。其中一些步骤可能不是必需的。
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
sudo apt-get bzr
sudo apt-get -y install make python-virtualenv
bzr -Ossl.cert_reqs=none branch lp:maas-image-builder
cd maas-image-builder
make install-dependencies
make
sudo ./bin/maas-image-builder -o centos7-amd64-root-tgz centos
sudo ./bin/maas-image-builder -o centos6-amd64-root-tgz centos --edition 6