Skip to content

iso-remaster: improve samples, show how to add answerfile in ISO #731

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ydirson
Copy link
Contributor

@ydirson ydirson commented Jun 24, 2025

No description provided.

@ydirson ydirson requested review from glehmann and stormi June 24, 2025 10:37
@ydirson ydirson force-pushed the isoremaster-improve-samples branch from d54e211 to ff14545 Compare June 24, 2025 10:49
# # >= 8.3
# make -C "$HOSTINSTALLER" DESTDIR="$INSTALLIMG" XS_MPATH_CONF="$HOME/src/xapi/sm/multipath/multipath.conf"
# else
# # if 8.2: copies a few files too much until we can "make install", but that's harmless
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# # if 8.2: copies a few files too much until we can "make install", but that's harmless
# # if 8.2: Use cp until make install is available. It copies a few unnecessary files, but this is harmless.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

#cp -rv "$HOSTINSTALLER"/* "$INSTALLIMG/opt/xensource/installer/"
## - if 8.3
#make -C "$HOSTINSTALLER" DESTDIR="$INSTALLIMG" XS_MPATH_CONF="$HOME/src/xapi/sm/multipath/multipath.conf"
# # Include an answerfile (also needs answerfile=file:// in patch-iso)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# # Include an answerfile (also needs answerfile=file:// in patch-iso)
# # Include an answerfile (also needs answerfile=file:// in patch-iso.sh)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

#SED_COMMANDS+=(-e "s@/vmlinuz@/vmlinuz network_device=lacp:members=eth0,eth1@")
#SED_COMMANDS+=(-e "s@/vmlinuz@/vmlinuz install answerfile=http://pxe/configs/custom/ydi/lacp.xml@")
#SED_COMMANDS+=(-e "s@/vmlinuz@/vmlinuz atexit=shell@")
# # get an answerfile from the ISO's install.img (also needs to copy preset in patch-installimg)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# # get an answerfile from the ISO's install.img (also needs to copy preset in patch-installimg)
# # get an answerfile from the ISO's install.img (also needs to copy preset.xml in patch-installimg.sh)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

ydirson added 2 commits July 10, 2025 14:47
Hopefully makes sample snippets easier to use.

Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
@ydirson ydirson force-pushed the isoremaster-improve-samples branch from ff14545 to 1ac59c3 Compare July 10, 2025 12:48
@ydirson ydirson requested a review from glehmann July 10, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants