ubuntu)?
root@ip-10-185-13-14:/var/lib/cloud# cat instance/scripts/part-001
#!/bin/bash -x
# Install packages
set -x
export DEBIAN_FRONTEND=noninteractive
apt update -y
apt install wget python3 python3-pip -y
apt install openssl libssl-dev libpam-dev numactl libnuma-dev hwloc libhwloc-dev lua5.3 liblua5.3-dev libreadline-dev rrdtool libncurses-dev man2html libibmad-dev libibumad-dev libyaml-dev libhttp-parser-dev libjson-c-dev libperl-dev -y
apt-get -o DPkg::Options::="--force-confnew" -y install munge
pip3 install boto3
pip3 install awscli
в логе cloud-init-output тишина
root@ip-10-185-13-14:/var/lib/cloud# cat /var/log/cloud-init-output.log | grep err
root@ip-10-185-13-14:/var/lib/cloud# cat /var/log/cloud-init-output.log | grep warn
root@ip-10-185-13-14:/var/lib/cloud# cat /var/log/cloud-init-output.log | grep fail
как еще можно отдебажить ?
а в /var/log/cloud-init.log?
Обсуждают сегодня