{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/os/issues/1046","repository_url":"https://api.github.com/repos/rancher/os","labels_url":"https://api.github.com/repos/rancher/os/issues/1046/labels{/name}","comments_url":"https://api.github.com/repos/rancher/os/issues/1046/comments","events_url":"https://api.github.com/repos/rancher/os/issues/1046/events","html_url":"https://github.com/rancher/os/issues/1046","id":162417934,"number":1046,"title":"`sudo ros console` command need to be enhanced","user":{"login":"datawolf","id":1785993,"avatar_url":"https://avatars.githubusercontent.com/u/1785993?v=3","gravatar_id":"","url":"https://api.github.com/users/datawolf","html_url":"https://github.com/datawolf","followers_url":"https://api.github.com/users/datawolf/followers","following_url":"https://api.github.com/users/datawolf/following{/other_user}","gists_url":"https://api.github.com/users/datawolf/gists{/gist_id}","starred_url":"https://api.github.com/users/datawolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datawolf/subscriptions","organizations_url":"https://api.github.com/users/datawolf/orgs","repos_url":"https://api.github.com/users/datawolf/repos","events_url":"https://api.github.com/users/datawolf/events{/privacy}","received_events_url":"https://api.github.com/users/datawolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-27T10:13:05Z","updated_at":"2016-06-27T16:51:21Z","closed_at":null,"body":"**RancherOS Version: (ros os version)**\r\n\r\nv0.4.5-dev-1\r\n\r\n**Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)**\r\n\r\nbaremetal\r\n\r\n\r\n(1) the current output of the command `sudo ros os list` is \r\n\r\n```\r\n$ sudo ros console list          \r\ndefault\r\ncentos\r\ndebian\r\nfedora\r\nubuntu\r\n```\r\n\r\nIt is better that `sudo ros console list` should be show the status of the consoles eg\r\n\r\n```\r\n$ sudo ros console list\r\ncurrent: default\r\nDisabled: centos\r\nDisabled: debian\r\nDisabled: fedora\r\nDisabled: ubuntu\r\n```\r\n\r\nwhen we switch to ubuntu console, the output of the command should be \r\n\r\n```\r\n$ sudo ros console list\r\nDisabled: default\r\nDisabled: centos\r\nDisabled: debian\r\nDisabled: fedora\r\ncurrent: ubuntu\r\n```\r\n\r\nwhen we enable ubuntu console. and before reboot\r\n\r\n```\r\n$ sudo ros console list\r\ncurrent: default\r\nDisabled: centos\r\nDisabled: debian\r\nDisabled: fedora\r\nEnabled: ubuntu\r\n```\r\n\r\n(2) `sudo ros console enable` command should ensure only one console can be enabled.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/os/issues/comments/228805058","html_url":"https://github.com/rancher/os/issues/1046#issuecomment-228805058","issue_url":"https://api.github.com/repos/rancher/os/issues/1046","id":228805058,"user":{"login":"joshwget","id":6208550,"avatar_url":"https://avatars.githubusercontent.com/u/6208550?v=3","gravatar_id":"","url":"https://api.github.com/users/joshwget","html_url":"https://github.com/joshwget","followers_url":"https://api.github.com/users/joshwget/followers","following_url":"https://api.github.com/users/joshwget/following{/other_user}","gists_url":"https://api.github.com/users/joshwget/gists{/gist_id}","starred_url":"https://api.github.com/users/joshwget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshwget/subscriptions","organizations_url":"https://api.github.com/users/joshwget/orgs","repos_url":"https://api.github.com/users/joshwget/repos","events_url":"https://api.github.com/users/joshwget/events{/privacy}","received_events_url":"https://api.github.com/users/joshwget/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T16:51:21Z","updated_at":"2016-06-27T16:51:21Z","body":"(1) would definitely be a good change. I think matching the appearance of `ros service list` would be best (with the addition of the \"current\" option).\r\n```\r\ndisabled amazon-ecs-agent\r\nenabled  kernel-headers\r\ndisabled kernel-headers-system-docker\r\ndisabled open-vm-tools\r\n```\r\n(2) is actually done already. `rancher.console` is a string which means only one can be set at a time."}}
{"actor":{"display_login":"joshwget"}}