quoting here document

This commit is contained in:
Nebel 2022-09-25 21:24:38 +09:00 committed by GitHub
parent 5b70fe5f86
commit eb0e5c6ad6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ user-data ファイルの late-commands プロパティに下記のようなコ
# user-data
late-commands:
- |
cat <<EOF | install /dev/stdin /target/etc/rc.local
cat <<'EOF' | install /dev/stdin /target/etc/rc.local
#!/bin/sh
set -e
: … ここに初回起動時に実行するコマンドを記述