您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

build_headless.sh 304 B

12345678910111213
  1. #!/bin/bash
  2. set -e
  3. printf "Copying base rootfs... "
  4. cp -rp $BASE_DIR/. $HEADLESS_DIR/
  5. printf "(OK)\n"
  6. echo "Run headless installation tasks..."
  7. pushd $TARGET/ansible > /dev/null
  8. export ANSIBLE_ROOTFS_DIR=$HEADLESS_DIR
  9. ansible-playbook -v 01_headless.yaml
  10. echo "Run headless installation tasks... (OK)"