{"action":"reopened","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1268","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1268/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1268/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1268/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/1268","id":109684015,"number":1268,"title":"Support more VM types in qvm-grow-root","user":{"login":"nihilifer","id":1553979,"avatar_url":"https://avatars.githubusercontent.com/u/1553979?v=3","gravatar_id":"","url":"https://api.github.com/users/nihilifer","html_url":"https://github.com/nihilifer","followers_url":"https://api.github.com/users/nihilifer/followers","following_url":"https://api.github.com/users/nihilifer/following{/other_user}","gists_url":"https://api.github.com/users/nihilifer/gists{/gist_id}","starred_url":"https://api.github.com/users/nihilifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nihilifer/subscriptions","organizations_url":"https://api.github.com/users/nihilifer/orgs","repos_url":"https://api.github.com/users/nihilifer/repos","events_url":"https://api.github.com/users/nihilifer/events{/privacy}","received_events_url":"https://api.github.com/users/nihilifer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/C:%20core","name":"C: core","color":"cccccc"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/P:%20minor","name":"P: minor","color":"fef2c0"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/release-notes","name":"release-notes","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/16","html_url":"https://github.com/QubesOS/qubes-issues/milestones/Release%203.1","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/16/labels","id":1083578,"number":16,"title":"Release 3.1","description":"","creator":{"login":"marmarek","id":726704,"avatar_url":"https://avatars.githubusercontent.com/u/726704?v=3","gravatar_id":"","url":"https://api.github.com/users/marmarek","html_url":"https://github.com/marmarek","followers_url":"https://api.github.com/users/marmarek/followers","following_url":"https://api.github.com/users/marmarek/following{/other_user}","gists_url":"https://api.github.com/users/marmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/marmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmarek/subscriptions","organizations_url":"https://api.github.com/users/marmarek/orgs","repos_url":"https://api.github.com/users/marmarek/repos","events_url":"https://api.github.com/users/marmarek/events{/privacy}","received_events_url":"https://api.github.com/users/marmarek/received_events","type":"User","site_admin":false},"open_issues":108,"closed_issues":27,"state":"open","created_at":"2015-04-25T20:30:27Z","updated_at":"2015-11-07T04:49:35Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-10-04T14:37:41Z","updated_at":"2015-11-07T04:49:35Z","closed_at":null,"body":"Currently qvm-grow-root can resize root.img for:\r\n- template HVM-s\r\n- HVM-s with are not template-based\r\n\r\nAnd it's done by truncating of root.img. [1]\r\n\r\nIt's possible to support more VM types:\r\n- template VM-s\r\n- standalone VM-s\r\n\r\nby truncating (on Dom0) and running resize2fs (on template/standalone VM).\r\n\r\nThe things above are described in documentation, but it would be nice to do them automatically in qvm-grow-root.\r\n\r\n[1] https://github.com/QubesOS/qubes-core-admin/blob/master/core-modules/01QubesHVm.py#L252"}}