Skip to content

[BUG] vagrant interpreting \n in multiline inline provisioning script #2

@elreydetoda

Description

@elreydetoda

for some reason vagrant is interpreting the newline character \n before execution even when a line is commented out.
here is the outputted when the debug section is uncommented for the provisioner that gets read into bash (with the already interpreted newline):

image

places where it is interpreting:
image

code examples:

bash_tricks/Vagrantfile

Lines 84 to 87 in 032ac29

# look at issue #1 for this repo
# printf 'installing snap version of docker\n'
# snap install docker
# printf 'waiting for docker to start\n'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededneeds researchstill needs research before closing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions