cockpit-project / cockpit

Cockpit is a web-based graphical interface for servers.
http://www.cockpit-project.org/
GNU Lesser General Public License v2.1
11.23k stars 1.11k forks source link

More machine-info property to edit (deployment, location) #17860

Open psztoch opened 2 years ago

psztoch commented 2 years ago

Page: Change host name

Please, add possibility to set location and select deployment from dropdown list.

DEPLOYMENT=
Describes the system deployment environment. One of the following is suggested: "development", "integration", "staging", "production".

LOCATION=
Describes the system location if applicable and known. Takes a human-friendly, free-form string. This may be as generic as "Berlin, Germany" or as specific as "Left Rack, 2nd Shelf".

It will be nice to show icon from hostnamectl status too. Displayed PRETTY_NAME from /etc/os-release should be displayed as link with HOME_URL from /etc/os-release.

KKoukiou commented 1 year ago

It will be nice to show icon from hostnamectl status too. Displayed PRETTY_NAME from /etc/os-release should be displayed as link with HOME_URL from /etc/os-release.

Take care that the browser's machine is not always the same like the machine cockpit is displaying the info for. So in this case any kind of href to a file is not appropriate. I am not sure what's HOME_URL in fact. Can you please link me to some docs?

psztoch commented 1 year ago

It will be nice to show icon from hostnamectl status too. Displayed PRETTY_NAME from /etc/os-release should be displayed as link with HOME_URL from /etc/os-release.

Take care that the browser's machine is not always the same like the machine cockpit is displaying the info for. So in this case any kind of href to a file is not appropriate. I am not sure what's HOME_URL in fact. Can you please link me to some docs?

If protocol is file://, then should be ignored. Or better: link should be displayed only if HOME_URL with protocol http or https.

abielan commented 1 year ago

It very simple, but important feature. PLEASE, add this to Cockpit.

psztoch commented 1 year ago

Please, add support for edit DEPLOYMENT= and LOCATION= from Web.

midaczy commented 5 months ago

I would also appreciate this functionality.

midaczy commented 5 months ago

I hope that one day systemd-networkd network configuration support will be available.