First i would like to appologize my poor english and to thank for the soft ...
I am currently using DRBL Server with CloneZilla and I make some different clone (ubuntu or debian).
I am wondering if there is a way to personalize the clone (host, ip address),when I multicast an image.
I think an example will be easier to understang
Clone Image : Hostname UbuntuClone IP : 192.168.1.1
when I clone it on two different computer I want this result
Computer1 : Hostname FirstComputer IP : 192.168.1.2
Computer1 : Hostname SecondComputer IP : 192.168.1.3
Is there a way to do it ?
By the way thanks for your help !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you mean to assing a static IP address for the restored machine, yes, it's possible. You can edit the a customized script (say "mynet") in /opt/drbl/share/ocs/postrun/ to do so.
Remember:
1. Check option "-o1" in the advanced parametrs when you run /opt/drbl/sbin/dcs to start Clonezilla
2. In your customized script "mynet", you have to mount the restored partition and create the etc/network/interfaces inside that partition on that machine.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That is the way I planed to do but since there is no example of a post run script or pre run script, it is more difficult to create one, I have check the Internet and I do not find one ... too bad
I'll try some script on differents machines to see how it works
Thanks for your help I'll notice you later on my progress...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have got some questions again.
I wonder if the script is duplicated in the image machine when the clonage is launched ?
Let me explain if I need to modify the script because I want to add some new machines with new hostname and new IP , I must edit the previous script but will it execute the modification's script or will it execute the previous script ???
for example if I created a script named "mynet" (to modify IP address and host name) and make an image machine with that script. And I replace my script "mynet" with "mynet2" which contains new IP and hostname.
Will clonezilla execute "mynet" or "mynet2" ??? (By the way I rename "mynet2" as "mynet" in the /ocs/postrun directiory )
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
First i would like to appologize my poor english and to thank for the soft ...
I am currently using DRBL Server with CloneZilla and I make some different clone (ubuntu or debian).
I am wondering if there is a way to personalize the clone (host, ip address),when I multicast an image.
I think an example will be easier to understang
Clone Image : Hostname UbuntuClone IP : 192.168.1.1
when I clone it on two different computer I want this result
Computer1 : Hostname FirstComputer IP : 192.168.1.2
Computer1 : Hostname SecondComputer IP : 192.168.1.3
Is there a way to do it ?
By the way thanks for your help !
If you mean to assing a static IP address for the restored machine, yes, it's possible. You can edit the a customized script (say "mynet") in /opt/drbl/share/ocs/postrun/ to do so.
Remember:
1. Check option "-o1" in the advanced parametrs when you run /opt/drbl/sbin/dcs to start Clonezilla
2. In your customized script "mynet", you have to mount the restored partition and create the etc/network/interfaces inside that partition on that machine.
Steven.
That is the way I planed to do but since there is no example of a post run script or pre run script, it is more difficult to create one, I have check the Internet and I do not find one ... too bad
I'll try some script on differents machines to see how it works
Thanks for your help I'll notice you later on my progress...
I have got some questions again.
I wonder if the script is duplicated in the image machine when the clonage is launched ?
Let me explain if I need to modify the script because I want to add some new machines with new hostname and new IP , I must edit the previous script but will it execute the modification's script or will it execute the previous script ???
for example if I created a script named "mynet" (to modify IP address and host name) and make an image machine with that script. And I replace my script "mynet" with "mynet2" which contains new IP and hostname.
Will clonezilla execute "mynet" or "mynet2" ??? (By the way I rename "mynet2" as "mynet" in the /ocs/postrun directiory )
You can run:
run-parts --test /opt/drbl/share/ocs/postrun/
to see which one will be run, and the order it will be run.
Steven.