更新时间:2021-12-29 GMT+08:00
分享

Ubuntu 16.04/Ubuntu 18.04

  1. 执行下列命令:

    systemctl status cloud-init

    systemctl status cloud-init-local

    systemctl status cloud-config

    systemctl status cloud-final

    如下图,若红框部分是“enable”状态,则表示服务已被自启动。

  2. 如果Cloud-Init四个阶段的服务未被自启动,在命令行执行:

    systemctl enable cloud-init

    systemctl enable cloud-init-local

    systemctl enable cloud-config

    systemctl enable cloud-final

分享:

    相关文档

    相关产品

关闭导读