Hello, I have been using clonezilla to image workstations succesfully for some time now, but today i was presented with a problem. I have been using the same user name and password for this on most installations. What i have come across is one installation is requiring a more complex password. The password has a ! in it. when i try and pass this in an ocs_prerun3="mount -t cifs -o user=myusername,password=pass!word,sec=ntlm //10.20.30.99/images /home/partimag" it fails becuase that is the shell history shortcut. I tried escaping the ! but that did not work either. Is there a way to pass this special character in the ocs_prerun. I cannot enclose the password in " becuase that is what the ocs_prerun uses to enclose the string being sent to it.
Thanks for any help, it is greatly appreciated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's true. This is the limitation when parsing the boot parameters, and it's not easy to make it. The solution is, change the password to avoid using "!". Sorry. It's not a good solution but at least it will work.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I have been using clonezilla to image workstations succesfully for some time now, but today i was presented with a problem. I have been using the same user name and password for this on most installations. What i have come across is one installation is requiring a more complex password. The password has a ! in it. when i try and pass this in an ocs_prerun3="mount -t cifs -o user=myusername,password=pass!word,sec=ntlm //10.20.30.99/images /home/partimag" it fails becuase that is the shell history shortcut. I tried escaping the ! but that did not work either. Is there a way to pass this special character in the ocs_prerun. I cannot enclose the password in " becuase that is what the ocs_prerun uses to enclose the string being sent to it.
Thanks for any help, it is greatly appreciated
That's true. This is the limitation when parsing the boot parameters, and it's not easy to make it. The solution is, change the password to avoid using "!". Sorry. It's not a good solution but at least it will work.
Steven.
Thanks Steven for the reply.