Hi,
Is there any way to get/list the VM extradata from within the guest os ?
Guest OS is Linux in my case, Guest Addiontions are installed.
I would like to use the extradata attributes as parameters to some shell scripts.
Read/List VBox Guest extradata from within guest os
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Read/List VBox Guest extradata from within guest os
Which extradata did you have in mind? Maybe there's another way that you could get this info. Please be specific, don't generalize...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Re: Read/List VBox Guest extradata from within guest os
Some custom data set , let's say and env property
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Read/List VBox Guest extradata from within guest os
socratis wrote:Please be specific, don't generalize...
I'm really glad that we're in the same wavelength... not.TiTex wrote:Some custom data set , let's say and env property
I ask for specifics, and you come back with "some custom data set" ?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Re: Read/List VBox Guest extradata from within guest os
Sorry , but there's not much i can add to that
So if set this property with vboxmanage setextradata , is there any way to read the values inside the vm ?
So if set this property with vboxmanage setextradata , is there any way to read the values inside the vm ?
Code: Select all
vboxmanage setextradata 4ac8db0d-ff5a-4e5c-afd9-03bbd0adf072 instance-id a8cb3378-f243-11e9-b7e2-54ab3a2ace90
vboxmanage setextradata 4ac8db0d-ff5a-4e5c-afd9-03bbd0adf072 ENV development
Re: Read/List VBox Guest extradata from within guest os
Nevermind , i found my answer here https://www.virtualbox.org/manual/ch04. ... guestprops
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Read/List VBox Guest extradata from within guest os
Just a tad ahead of me replying. Or a tad behind me :
That's exactly what I had in mind when I said what kind of extradata are you talking about, that's why I asked for specifics...socratis wrote:Which extradata did you have in mind? Maybe there's another way that you could get this info.
- If you were talking about custom token/value pairs that you needed to pass between host and guest, the GuestProperties is the way to go.
- If you were talking about the "VBoxManage setextradata <Token> <Value>" then there's no way to get that data.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.