Would you make it conditional? If have CCI specific ENV var defined, use the new prefix.
Thanks, Fengguang
On Tue, Mar 02, 2021 at 11:39:49AM +0800, Wang Yong wrote:
Signed-off-by: Wang Yong wangyong0117@qq.com
lib/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bootstrap.sh b/lib/bootstrap.sh index 76f07e6a7..b2ded1893 100755 --- a/lib/bootstrap.sh +++ b/lib/bootstrap.sh @@ -283,8 +283,8 @@ setup_hosts() else cp /etc/hosts $tmpfs_hosts fi
- echo "127.0.0.1 $HOSTNAME.sh.intel.com $HOSTNAME" >> $tmpfs_hosts
- echo "::1 $HOSTNAME.sh.intel.com $HOSTNAME" >> $tmpfs_hosts
- echo "127.0.0.1 $HOSTNAME.compass-ci.net $HOSTNAME" >> $tmpfs_hosts
- echo "::1 $HOSTNAME.compass-ci.net $HOSTNAME" >> $tmpfs_hosts ln -fs $tmpfs_hosts /etc/hosts
}
-- 2.23.0