Add rootful status to machine inspect

Podman machine inspect now shows if the machine is rootful

Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
Ashley Cui
2023-08-17 01:39:56 -04:00
parent 4ff21cf1ac
commit da81bc13a1
6 changed files with 18 additions and 12 deletions

View File

@ -151,6 +151,7 @@ type InspectInfo struct {
SSHConfig SSHConfig
State Status
UserModeNetworking bool
Rootful bool
}
func (rc RemoteConnectionType) MakeSSHURL(host, path, port, userName string) url.URL {