[email protected] wrote:
> From: James Laska <[email protected]>
>
> ---
>  cobbler/action_sync.py |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
> index 68b5b45..40e5c44 100644
> --- a/cobbler/action_sync.py
> +++ b/cobbler/action_sync.py
> @@ -136,6 +136,8 @@ class BootSync:
>                      utils.rmtree_contents(path)
>          pxelinux_dir = os.path.join(self.bootloc, "pxelinux.cfg")
>          images_dir = os.path.join(self.bootloc, "images")
> +        yaboot_bin_dir = os.path.join(self.bootloc, "ppc")
> +        yaboot_cfg_dir = os.path.join(self.bootloc, "etc")
>          s390_dir = os.path.join(self.bootloc, "s390x")
>          rendered_dir = os.path.join(self.settings.webdir, "rendered")
>          if not os.path.exists(pxelinux_dir):
> @@ -144,9 +146,15 @@ class BootSync:
>              utils.mkdir(images_dir)
>          if not os.path.exists(rendered_dir):
>              utils.mkdir(rendered_dir)
> +        if not os.path.exists(yaboot_bin_dir):
> +            utils.mkdir(yaboot_bin_dir)
> +        if not os.path.exists(yaboot_cfg_dir):
> +            utils.mkdir(yaboot_cfg_dir)
>          utils.rmtree_contents(os.path.join(self.bootloc, "pxelinux.cfg"))
>          utils.rmtree_contents(os.path.join(self.bootloc, "images"))
>          utils.rmtree_contents(os.path.join(self.bootloc, "s390x"))
> +        utils.rmtree_contents(os.path.join(self.bootloc, "ppc"))
> +        utils.rmtree_contents(os.path.join(self.bootloc, "etc"))
>          utils.rmtree_contents(rendered_dir)
>          
>  
>   
Applied, thanks.

If anyone would like to try out the PPC netboot support, please do.

James, do we have docs on the Wiki regarding this, or is no additional 
setup required? I think DHCP next-server should mostly cover it (like 
regular PXE), yes?

--Michael


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to