[Spacewalk-list] kickstart.profile.setAdvancedOptions

Paul Robert Marino prmarino1 at gmail.com
Fri Aug 17 19:35:42 UTC 2012


Are you sure $ksline[0] the label of the kickstart
check /var/log/rhn/rhn_web_api.log for details about the error


On Fri, Aug 17, 2012 at 3:12 PM,  <William_Darton at navyfederal.org> wrote:
> Suffering from Friday blurry eyes here..
>
> For this API call  I'm issuing the following..
>
>         my ($opt, at options);
>
>         my $opt = { "name"      => "clearpart",
>                 "arguments"     => "--drives=sda,sdb,sdc,sdd,sde,sdf
> --all"};
>         push(@options,$opt);
>
>
> $client->call('kickstart.profile.setAdvancedOptions',$session,$ksline[0], at options);
>
>
>
> Any help with how I can properly format this?
>
>
> Method: setAdvancedOptions
> Description:
> Set advanced options for a kickstart profile.
>
> Parameters:
>
> string sessionKey
> string ksLabel
> array:
>
> struct - advanced options
>
> string "name" - Name of the advanced option. Valid Option names: autostep,
> interactive, install, upgrade, text, network, cdrom, harddrive, nfs, url,
> lang, langsupport keyboard, mouse, device, deviceprobe, zerombr, clearpart,
> bootloader, timezone, auth, rootpw, selinux, reboot, firewall, xconfig,
> skipx, key, ignoredisk, autopart, cmdline, firstboot, graphical, iscsi,
> iscsiname, logging, monitor, multipath, poweroff, halt, services, shutdown,
> user, vnc, zfcp, driverdisk
> string "arguments" - Arguments of the option
>
> Returns:
>
> int - 1 on success, exception thrown otherwise.
>
> Will Darton
> I.T. Operations
> Information Services
> Navy Federal Credit Union
>
> william_darton at navyfederal.org
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list