Skip to content

how can i install a package by means of a user-data file #170

Open
@altineller

Description

@altineller

Hello,
After Install, I would like to run:

sudo apt install libnss-mdns

Can I accomplish it by putting it on where:

`runcmd:

  • 'systemctl restart avahi-daemon'

  • 'ifup wlan0'

  • 'mkdir /data && chown 1000:1000 /data'

  • [ systemctl, stop, docker ]

  • [ systemctl, daemon-reload ]

  • [ systemctl, enable, docker-tcp.socket ]

  • [ systemctl, start, --no-block, docker-tcp.socket ]

  • [ systemctl, start, --no-block, docker ]

`
after the ifup wlan0?

Best regards,
C.

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