-
-
Save stephaneerard/c25d01fccbcaef6e8140871f1a97ed3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\code\frenchex2\cli.ts_i1\tmp> frenchex2 vagrant:machine-type:provision:add ` | |
>> --os-type "Debian_64" ` | |
>> --os-version "10.9.0" ` | |
>> --name "apt.configure" ` | |
>> --type "dev" ` | |
>> --code-bash ` | |
>> @' | |
>> apt_conf=$(cat <<EOF | |
>> APT::Get::Install-Recommends " false"; | |
>> APT::Get::Install-Suggests "false"; | |
>> EOF | |
>> ) | |
>> echo "$apt_conf" | sudo tee /etc/apt/apt.conf.d/00no_recommends_no_suggest | |
>> '@ | |
How do I escape <<EOF EOF) content so that is is assigned to --code-bash getopt. | |
Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment