Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support @file on _userdata update #321

Closed
bchatelard opened this issue Mar 25, 2016 · 3 comments
Closed

Support @file on _userdata update #321

bchatelard opened this issue Mar 25, 2016 · 3 comments
Assignees
Milestone

Comments

@bchatelard
Copy link
Contributor

No description provided.

@QuentinPerez
Copy link
Contributor

Hi @bchatelard,

@file is already supported,

./scw _userdata 8cc2d32c-5444-4998-81e9-964134700ba7 [email protected]
./scw _userdata 8cc2d32c-5444-4998-81e9-964134700ba7 CLOUD-INIT
#cloud-config

hostname: "coreos"

coreos:
  units:
    - name: runcmd.service
      command: start
      content: |
        [Unit]
        Description=Mark as booted

        [Service]
        Type=oneshot
        ExecStart=/bin/sh -c "curl http://169.254.42.42/state -X PATCH -d '{\"state_detail\": \"booted\"}' -H 'Content-Type: application/json'"

@moul
Copy link
Contributor

moul commented Mar 27, 2016

@bchatelard tested with @~/path/to/file

@moul moul modified the milestones: 1.9.0, 1.10.0 Mar 29, 2016
@QuentinPerez
Copy link
Contributor

Fixed with the PR #332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants