LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » Command-line Management » reflect question
reflect question [message #53781] Fri, 16 January 2009 15:09
denver is currently offline denver  Romania
Messages: 8
Registered: January 2009
Location: Timisoara, Romania
Member
Reflect does not seem to be complete. To give an example:

 /script/reflect --type=add  --parent-class=client --parent-name=admin --class=client
                                   nname Client Name 
                                password Password 
                            contactemail Email Address 
                          send_welcome_f Send Welcome Message 
                          resourceplan_f Resource Plan Name 



To find out how to add a new client to "admin". When executing the command /script/add with the parameters mentioned above you get:

# /script/add --parent-class=client --parent-name=admin --class=client --name=test --v-password=test --v-contactemail=test@example.com --v-resourceplan_f=test
need_v_type: : v-type 


I know you are supposed to use v-type from the wiki page. The point is that reflect does not tell you this.

If the syntax used in reflect was wrong then i apologize.
Previous Topic:How to create OS users via API
Next Topic:Getting the list of available timezones
Goto Forum:
  


Current Time: Thu Jun 20 04:15:39 EDT 2013

Total time taken to generate the page: 0.01045 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software