relocate /pxeboot to /var/pxeboot

Relocate writable /pxeboot dir to /var/pxeboot
Story: 2009101
Task: 44198

TCs will be list https://review.opendev.org/c/starlingx/metal/+/822008.

Depends-on: https://review.opendev.org/c/starlingx/metal/+/822008

Change-Id: I6b563f37b2514ab444b2be7f4a95a17ead7ddd63
Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
Bin Qian 2021-10-04 14:50:12 -04:00
parent e24cad588f
commit f33b81f918
2 changed files with 3 additions and 3 deletions

View File

@ -346,8 +346,8 @@
- name: Set pxeboot files symlinks
file:
src: "/pxeboot/{{ item.src }}"
dest: "/pxeboot/{{ item.dest }}"
src: "/var/pxeboot/{{ item.src }}"
dest: "/var/pxeboot/{{ item.dest }}"
state: link
force: yes
with_items:

View File

@ -68,7 +68,7 @@
- name: Create a symlink to PXE config files
file:
src: "{{ pxe_config_dir }}"
dest: /pxeboot/pxelinux.cfg
dest: /var/pxeboot/pxelinux.cfg
state: link
- name: Check if copying of branding files for mate is required