Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • linuxmce linuxmce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 255
    • Issues 255
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linuxmcelinuxmce
  • linuxmcelinuxmce
  • Issues
  • #2131
Closed
Open
Issue created Apr 10, 2014 by Alblasco1702@alblasco1702Maintainer

configuration script does not get run when (manually) adding a device

Advanced > Configuration > Device Templates select pluto manufacturer select computer category and press 'Add Device Template' give it a name: testdevice on the commandline create a test script: sudo echo -n "#" > /usr/pluto/bin/test.sh && echo -n ! >> /usr/pluto/bin/test.sh && echo $'/bin/sh\n\necho date "$0" > /tmp/test.log' >> /usr/pluto/bin/test.sh sudo chmod a+x /usr/pluto/bin/test.sh

then add test.sh to the Configuration script entry in the template. Press save. Advanced > Configuration > Devices press: add a top level device press: Pick device template select testdevice in the Device Template drop down press: pick device template

the device will show RUN_CONFIG but the file /tmp/test.log does not get created.

Assignee
Assign to
Time tracking