Cockpit – adding host to the webinterface

1. create the file:

/etc/cockpit/machines.d/00-hosts.json

2. with the content like this:

{
  "web.local.test": {
    "address": "web.local.test",
    "visible": true,
    "color": "rgb(100, 200, 0)",
    "user": "root"
  },
  "fs.local.test": { 
    "address": "fs.local.test",
    "visible": true,
    "color": "rgb(100, 200, 0)",
    "user": "root" 
  }
}

 

Leave a Reply

Your email address will not be published. Required fields are marked *