Sponsored Content
Operating Systems Linux Red Hat Create an unconfigured VMware host from a template that is set to do firstboot --reconfig Post 302945982 by rbatte1 on Friday 5th of June 2015 12:26:08 PM
Old 06-05-2015
Perhaps you could try a cloning tool, such as Storix (which I like) or Christie Clone Manager (which I've heard of but never used)

Others may be available.




Robin
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

create users from template

Create users from template file (0 Replies)
Discussion started by: rijeshpp
0 Replies

2. Solaris

Solaris on Vmware host of vista

Hi I am planning to install solaris as a virtual machine on vista as host os. My requirements are I want to access virtual machine from vista using putty. So how to assign static ip to virtual machine ? In future i might have to virtual machines so i want communication between them as... (3 Replies)
Discussion started by: ankurk
3 Replies

3. Solaris

Connectivity between Solaris 10 in VMWare and windows Host

I have installed Open Solaris 10 on VMware which is hosted on Windows XP, my PC. I would like to have a connection between Solaris and Windows, so that i can SSH/Telnet from windows to Solaris. I don't have any Internet connection. Please help me with the network connection settings i have to... (3 Replies)
Discussion started by: mailsachin245
3 Replies

4. Red Hat

can't ping to my VMWare CentOs after seting host name

Im using CentOs 5.5 , i tried to change the host name to be for example my_server_1 , according to the web i changed the /etc/sysconf/network to look like this : NETWORKING=yes NETWORKING_IPV6=no #HOSTNAME=localhost.localdomain HOSTNAME=my_server_1 and changed the hosts file to look like this... (1 Reply)
Discussion started by: umen
1 Replies

5. AIX

AIX Server - Need to set up VMWare

Hi experts, We are faced with a dilemma - we have a AIX server for educational purposes. We had some Oracle applications running on them. The management decided not to extend the warranty, so we are left with a server that we cannot upgrade immediately. I was wondering if we could set up... (2 Replies)
Discussion started by: ranj@chn
2 Replies

6. Programming

Perl script to create latex template.

Hi, I have XML file and I extracted some tags and stored in hash, my data as look like this $var1={ 'stud.xml'={ '24'=>'<address> <streetname="xxxx"/> <housenum="138"/"> ... (9 Replies)
Discussion started by: veerubiji
9 Replies

7. Shell Programming and Scripting

Script to create EVIM template with SAS extension

I write lots of SAS programs and would like to create a script that allows me to have a template each time I create a new program file. Specs: I use EVIM for my editor. I run SAS in batch mode. We use RedHat 6. I don't use c shell. I want a script that will do the following: >... (3 Replies)
Discussion started by: starbecks
3 Replies

8. UNIX and Linux Applications

Help with Install KVM and Create Virtual Machines VMWare In PC

Help with Install KVM and Create Virtual Machines VMWare In PC. I want to lean KVM bios Logical Volume Management by KVM and other problem fix remotely.So,I want to practice on my PC.It,s Possible then how? Thank you (0 Replies)
Discussion started by: domaingood
0 Replies

9. Shell Programming and Scripting

Bash/awk and for loop to create a template

Source File: google.cz http://czechrepublic.google.com/ http://czechrepublic.google.cz http://czechrepublic.google.com/ http://brno.google.cz http://brno.google.com/ Fail Code root@arisvm ~/g] $ cat trya rm -f ss for i in a.txt do #b=`cat $i|awk '{print $1}'` #c=`cat $i|awk '{print... (4 Replies)
Discussion started by: invinzin21
4 Replies

10. Solaris

Creating a VMware template

Hello, I am creating a Solaris 11 template on my ESXI host. I would like each VM that is deployed from the template to have its own unique host fingerprint. With Linux, I simply delete host keys, which causes new keys to be generated at bootup (new VM deployment) Is there a way to do this... (1 Reply)
Discussion started by: firefoxx04
1 Replies
Data::Clone(3pm)					User Contributed Perl Documentation					  Data::Clone(3pm)

NAME
Data::Clone - Polymorphic data cloning VERSION
This document describes Data::Clone version 0.003. SYNOPSIS
# as a function use Data::Clone; my $data = YAML::Load("foo.yml"); # complex data structure my $cloned = clone($data); # makes Foo clonable package Foo; use Data::Clone; # ... # Foo is clonable my $o = Foo->new(); my $c = clone($o); # $o is deeply copied # used for custom clone methods package Bar; use Data::Clone qw(data_clone); sub clone { my($proto) = @_; my $object = data_clone($proto); $object->do_something(); return $object; } # ... # Bar is also clonable $o = Bar->new(); $c = clone($o); # Bar::clone() is called DESCRIPTION
"Data::Clone" does data cloning, i.e. copies things recursively. This is smart so that it works with not only non-blessed references, but also with blessed references (i.e. objects). When "clone()" finds an object, it calls a "clone" method of the object if the object has a "clone", otherwise it makes a surface copy of the object. That is, this module does polymorphic data cloning. Although there are several modules on CPAN which can clone data, this module has a different cloning policy from almost all of them. See "Cloning policy" and "Comparison to other cloning modules" for details. Cloning policy A cloning policy is a rule that how a cloning routine copies data. Here is the cloning policy of "Data::Clone". Non-reference values Non-reference values are copied normally, which will drop their magics. Scalar references Scalar references including references to other types of references are not copied deeply. They are copied on surface because it is typically used to refer to something unique, namely global variables or magical variables. Array references Array references are copied deeply. The cloning policy is applied to each value recursively. Hash references Hash references are copied deeply. The cloning policy is applied to each value recursively. Glob, IO and Code references These references are not copied deeply. They are copied on surface. Blessed references (objects) Blessed references are not copied deeply by default, because objects might have external resources which "Data::Clone" could not deal with. They will be copied deeply only if "Data::Clone" knows they are clonable, i.e. they have a "clone" method. If you want to make an object clonable, you can use the "clone()" function as a method: package Your::Class; use Data::Clone; # ... my $your_class = Your::Class->new(); my $c = clone($your_object); # $your_object->clone() will be called Or you can import "data_clone()" function to define your custom clone method: package Your::Class; use Data::Clone qw(data_clone); sub clone { my($proto) = @_; my $object = data_clone($proto); # anything what you want return $object; } Of course, you can use "Clone::clone()", "Storable::dclone()", and/or anything you want as an implementation of "clone" methods. Comparison to other cloning modules There are modules which does data cloning. "Storable" is a standard module which can clone data with "dclone()". It has a different cloning policy from "Data::Clone". By default it tries to make a deep copy of all the data including blessed references, but you can change its behaviour with specific hook methods. "Clone" is a well-known cloning module, but it does not polymorphic cloning. This makes a deep copy of data regardless of its types. Moreover, there is no way to change its behaviour, so this is useful only for data which link to no external resources. "Data::Clone" makes a deep copy of data only if it knows that the data are clonable. You can change its behaviour simply by defining "clone" methods. It also exceeds "Storable" and "Clone" in performance. INTERFACE
Exported functions clone(Scalar) Returns a copy of Scalar. Exportable functions data_clone(Salar) Returns a copy of Scalar. The same as "clone()". Provided for custom clone methods. is_cloning() Returns true inside the "clone()" function, false otherwise. DEPENDENCIES
Perl 5.8.1 or later, and a C compiler. BUGS
No bugs have been reported. Please report any bugs or feature requests to the author. SEE ALSO
Storable Clone AUTHOR
Goro Fuji (gfx) <gfuji(at)cpan.org> LICENSE AND COPYRIGHT
Copyright (c) 2010, Goro Fuji (gfx). All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-01-15 Data::Clone(3pm)
All times are GMT -4. The time now is 10:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy