git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
guestfs-testing: Link to libguestfs-test-tool.
[libguestfs.git]
/
tools
/
virt-win-reg
diff --git
a/tools/virt-win-reg
b/tools/virt-win-reg
index
333bd15
..
ab5daa7
100755
(executable)
--- a/
tools/virt-win-reg
+++ b/
tools/virt-win-reg
@@
-14,7
+14,7
@@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+# Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
use warnings;
use strict;
use warnings;
use strict;
@@
-125,7
+125,9
@@
Enable debugging messages.
my $uri;
my $uri;
-=item B<--connect URI> | B<-c URI>
+=item B<-c URI>
+
+=item B<--connect URI>
If using libvirt, connect to the given I<URI>. If omitted, then we
connect to the default libvirt hypervisor.
If using libvirt, connect to the given I<URI>. If omitted, then we
connect to the default libvirt hypervisor.
@@
-483,10
+485,11
@@
sub lookup_pip_of_user_sid
chomp;
# The contents of the registry are a windows path, possibly
chomp;
# The contents of the registry are a windows path, possibly
- # containing %systemroot%. Expand it and remove some other
- # windows-isms. The caller will do case_sensitive_path for us, so
- # we don't need to do that.
- s/%systemroot%/$systemroot/;
+ # containing %systemroot% and %systemdrive% (on Win XP). Expand
+ # it and remove some other windows-isms. The caller will do
+ # case_sensitive_path for us, so we don't need to do that.
+ s/%systemroot%/$systemroot/i;
+ s/%systemdrive%//i;
s/^c://i;
s,\\,/,g;
s/^c://i;
s,\\,/,g;
@@
-637,6
+640,17
@@
to find out is to look at the C<HKLM\SYSTEM\Select> key:
Similarly, other C<Current...> keys in the path may need to
be replaced.
Similarly, other C<Current...> keys in the path may need to
be replaced.
+=head1 DELETING REGISTRY KEYS AND VALUES
+
+To delete a whole registry key, use the syntax:
+
+ [-HKEY_LOCAL_MACHINE\Foo]
+
+To delete a single value within a key, use the syntax:
+
+ [HKEY_LOCAL_MACHINE\Foo]
+ "Value"=-
+
=head1 WINDOWS TIPS
Note that some of these tips modify the guest disk image. The guest
=head1 WINDOWS TIPS
Note that some of these tips modify the guest disk image. The guest
@@
-786,4
+800,4
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.