2012-08-30 10:55:18 +00:00
=head1 NAME
B<rmosdistro> - remove OS Distro
=head1 SYNOPSIS
2012-11-05 09:32:54 +00:00
B<rmosdistro> [B<-a>|B<--all>] [B<-f|--force>] B<osdistroname> [B<osdistroname2 ...>]
2012-08-30 10:55:18 +00:00
B<rmosdistro> [B<-h>|B<--help>]
=head1 DESCRIPTION
2012-11-05 09:32:54 +00:00
The B<rmosdistro> command removes the specified OS Distro that was created by B<copycds>. To delete all OS Distro entries, please specify B<[-a|--all]>. If the specified OS Distro is referenced by some osimage, B<[-f|force]> can be used to remove it.
=head1 ARGUMENTS
The OS Distro names to delete, delimited by blank space.
2012-08-30 10:55:18 +00:00
=head1 OPTIONS
=over 6
2012-11-05 09:32:54 +00:00
=item {B<-a|--all>}
2012-08-30 10:55:18 +00:00
2012-11-05 09:32:54 +00:00
If specified, try to delete all the OS Distros.
2012-08-30 10:55:18 +00:00
=item {B<-f|--force>}
Remove referenced OS Distros, never prompt.
=item {B<-h|--help>}
Show info of rmosdistro usage.
=back
=head1 RETURN VALUE
Zero:
The command completed successfully.
Nonzero:
An Error has occurred.
=head1 EXAMPLES
=over 2
=item *
2012-11-05 09:32:54 +00:00
To remove OS Distro "rhels6.2-ppc64" and "sles11.2-ppc64":
2012-08-30 10:55:18 +00:00
2012-11-05 09:32:54 +00:00
B<rmosdistro rhels6.2-ppc64 sles11.2-ppc64>
2012-08-30 10:55:18 +00:00
=item *
To remove OS Distro "rhels6.2-ppc64", regardless of whether is referenced by any osimage:
B<rmosdistro -f rhels6.2-ppc64>
=item *
To remove all OS Distros:
2012-11-05 09:32:54 +00:00
B<rmosdistro -a>
2012-08-30 10:55:18 +00:00
=back