What does the following command change?
pkg set-publisher –G ‘*’ –g http://server1.domain.com solaris
A.
It updates all Solaris publishers and deletes the server1.domain.com origin.
B.
It deletes all Solaris publishers and adds the server1.domain.com origin.
C.
It adds server1.domain.com to the Solaris publisher list.
D.
It sets the origin for the Solaris publisher to server1.domain.com.
E.
It adds the server1.domain.com repository as an origin for the solaris publisher.
Explanation:
With -G (–remove-origin), remove the URI or path from the list of origins for the
given publisher. The special value * can be used to remove all origins.
With -g (–add-origin), add the specified URI or path as an origin for the given publisher. This
should be the location of a package repository or archive.
B
B
D
without “-M ‘*'” option keep mirror publishers
D
-G remove all of the origins not publishers as answare B says. And only one publisher could be on same name (solaris).