【发布时间】:2020-02-09 16:12:25
【问题描述】:
我正在尝试使用命令更改运行 centos 的 docker 容器的主机名
hostnamectl set-hostname test.ovirt.org
但它让我回溯了
Could not set property: Failed to execute program /lib64/dbus-1/dbus-daemon-launch-helper: Success
退出代码为 1。
这里是相关的 travis-CI 构建回溯
编辑:
我正在运行命令来更改 Travis 构建中的 ansible 任务中的主机名。使用交互模式编辑主机名不是一种选择。
【问题讨论】:
标签: docker centos ansible travis-ci