云备份 CBR-安装Cloud-Init常见问题:Ubuntu14.04:未安装chkconfig和systemctl

时间:2024-04-19 17:31:02

Ubuntu14.04:未安装chkconfig和systemctl

  • 问题描述:

    未安装chkconfig

  • 解决方法:

    Ubuntu14.04执行以下命令安装chkconfig:

    # apt-get update

    # apt-get install sysv-rc-conf

    # cp /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig

    安装完成后,执行以下命令查看版本号。

    cloud-init -v

    如果回显信息如下所示:

    -bash:/usr/bin/cloud-init:not found this command

    解决方法:执行以下命令将cloud-init 复制至usr/bin目录下。

    # cp /usr/local/bin/cloud-init /usr/bin/

support.huaweicloud.com/cbr_faq/cbr_06_0030.html