Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ worker-node-1 running (libvirt)
Find out the IP addresses assigned by the libvirt DHCP by running:

```bash
virsh list | grep vagrant | awk '{print $2}' | xargs -t -L1 virsh domifaddr
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't look to be equivalent, grep vagrant is lost

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vagrant is intentionally missing from the command from the original bug report. The text "vagrant" only showed up in the VM name if the directory where the original nodes were created were in a folder called "vagrant"

Hopefully, this command is more robust for people that name the folder something else.

virsh -q list --state-running --name | xargs -r -n1 virsh domifaddr
```

Output will look like the following:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ worker-node-1 running (libvirt)
Find out the IP addresses assigned by the libvirt DHCP by running:

```bash
virsh list | grep vagrant | awk '{print $2}' | xargs -t -L1 virsh domifaddr
virsh -q list --state-running --name | xargs -r -n1 virsh domifaddr
```

Output will look like the following:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ worker-node-1 running (libvirt)
Find out the IP addresses assigned by the libvirt DHCP by running:

```bash
virsh list | grep vagrant | awk '{print $2}' | xargs -t -L1 virsh domifaddr
virsh -q list --state-running --name | xargs -r -n1 virsh domifaddr
```

Output will look like the following:
Expand Down