-
Notifications
You must be signed in to change notification settings - Fork 66
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
Getting IP Address of QEMU Guest #3
Comments
A fallback mechanisms would be to run
|
Both are viable, yet I do not know if the qemu-agent gets installed in the boot2docker iso |
I'm actually more interested in RancherOS myself and filed rancher/os#2267 for this very reason. I think using |
Yes, I agree. I've never tried something else besides the default docker machine OS, so I'm open to this. |
Yeah no worries. RancherOS is what I run everywhere in production. I deploy
clusters of 3-5 nodes running with Docker Swarm mode (builtin/native to
Docker engine).
James Mills / prologic
E: prologic@shortcircuit.net.au
W: prologic.shortcircuit.net.au
…On Mon, Mar 5, 2018 at 7:11 AM, Andreas Steinel ***@***.***> wrote:
Yes, I agree. I've never tried something else besides the default docker
machine OS, so I'm open to this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABOv-o9xxmNkupEK4EQ1164xt9VYRujrks5tbVWMgaJpZM4Sbh3I>
.
|
I just stumbled over your entry in RancherOS by chance .. Good to know that we're going to have support in RancherOS. I haven't found any entry in the boot2docker issue tracker about this. Are so few people using KVM/QEMU and docker? |
You idea with RancherOS works perfectly. We're going to make this the default:
|
Coool :) That is awesome!
James Mills / prologic
E: prologic@shortcircuit.net.au
W: prologic.shortcircuit.net.au
…On Mon, Apr 16, 2018 at 5:19 AM, Andreas Steinel ***@***.***> wrote:
You idea with RancherOS works perfectly. We're going to make this the
default:
***@***.*** ~ > pvesh create nodes/proxmox4/qemu/7321/agent -command network-get-interfaces
200 OK
{
...
{
"hardware-address" : ....
"ip-addresses" : [
{
"ip-address" : "1.2.3.4",
"ip-address-type" : "ipv4",
"prefix" : 16
},
....
},
...
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABOv-vg6lIFL6vee6EHUdQyeVMf_cF0aks5tpIw6gaJpZM4Sbh3I>
.
|
In addtion, I just build Boot2Docker with support for QEMU Guest Agent and created a pull request in boot2docker/boot2docker#1319. This actually works right now! |
Niiiiccee!
James Mills / prologic
E: prologic@shortcircuit.net.au
W: prologic.shortcircuit.net.au
…On Mon, Apr 16, 2018 at 11:54 AM, Andreas Steinel ***@***.***> wrote:
In addtion, I just build Boot2Docker with support for QEMU Guest Agent and
created a pull request in boot2docker/boot2docker#1319
<boot2docker/boot2docker#1319>. This actually
works right now!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABOv-tTLKws2WgbmA4s0FyL4mUhj9UvXks5tpOjlgaJpZM4Sbh3I>
.
|
So, we can close this, because the detection works now. |
Cool (y)
James Mills / prologic
E: prologic@shortcircuit.net.au
W: prologic.shortcircuit.net.au
…On Wed, Apr 18, 2018 at 2:43 PM, Andreas Steinel ***@***.***> wrote:
So, we can close this, because the detection works now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABOv-pDfdOWEmj2wHj0k72d1U0T88Omcks5tp7OAgaJpZM4Sbh3I>
.
|
So I did a bit of research and found what I believe is a viable and reliable way of getting the IP Address of a QEMU Guest.
Basically this requires that the
qemu-guest-agent
is installed on the guest andqemu-ga
daemon is running. You can then either runqm agent <vmid> <command>
or probably talk tot he UNIX sokcet directly on the PRmoxox VE host.The text was updated successfully, but these errors were encountered: