Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix descriptions and add suspend/resume/vmstatus #1

Closed
wants to merge 1 commit into from

Conversation

ernierasta
Copy link
Contributor

Hi (Ahoj!),
thanx for great qemu instrumentation. I love simplicity of Alpine Linux, openrc ...

I fixed description variable names and added ability to suspend/resume and check status.

In my enviroment, it is necessary to add permissions for qemu to /dev/net/tun, but I am not sure if this is general problem. I solved it by quick hack - added:
chgrp $group /dev/net/tun && chmod g+rw /dev/net/tun
to start().

Next think is, that I have something like this:
echo "--- date +'%Y-%m-%d %T' Starting "$VM_NAME" ---" >> $logfile
while starting or stopping VM.
If you want I can make another PR with this changes.

Have a great day!
Měj se hezky!

@ernierasta
Copy link
Contributor Author

I see you incorporated it into code. Great thanx!

@ernierasta ernierasta closed this Mar 29, 2017
@jirutka
Copy link
Owner

jirutka commented Mar 29, 2017

Yeah, I forgot to reply and close this PR after merging your changes. Sorry about that. And thanks for your contribution!

@jirutka
Copy link
Owner

jirutka commented Mar 29, 2017

About permissions for tun device, this should be handled by udev (mdev). It should work out-of-box on Alpine; if it doesn't for you, please open an issue on bugs.alpinelinux.org.

@ernierasta
Copy link
Contributor Author

No problem :-).

About tun/tap - I suspect it is not Alpine fault, but it is related to openvz as outside container (vpsfree.cz).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants