Skip to content

Request: Add a Content tag to Resource instead of Uri #368

@codykonior

Description

@codykonior

When I use Lability I use a custom resource to copy entire folders of modules over to the created VMs and this works pretty well.

But in some other places I want put single scripts somewhere on the filesystem. In my specific case it's a startup script that will be scheduled for ONSTART during CustomBootStrap - but is not available for download and writing it out myself in CustomBootStrap becomes really long (and a PITA escaping `"@$). I could put it somewhere on the local filesystem but then not bundling it with the DSC is irritating!

It would be cool to be able to use a Content tag on the Resource type instead of a Uri. If this exists it writes out Content to the Filename on the VM in UTF8 (no BOM) instead of trying to download the file or use one locally.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions