This blueprint is a repeatable process for the
Deploy and Extract {windows_distribution} ISO to Samba Share blueprints.
Automate This
Use the Attune GUI for your Scripts
You've automated: Extract ISO and Configure Folder Permissions for Samba Share on Linux
Get the most out of automation with our get started videos, product demonstrations, and more.
The following steps will guide you through the manual process.
Remove any old files that exist and extract the ISO files.
Connect via ssh:
ssh {automationworkerlinuxuser}@{automationworkerlinuxnode}
Execute the following script:
cd "{automationWorkerLinuxBaseDirectory}/windows_iso_data_for_winpe/{windowsFolderOnSamba}"
# Case insensitve globbing
shopt -s nocaseglob
ISO=$(ls *.iso)
echo $ISO
echo "Removing old files, if any"
TMP_DIR=$(mktemp -d -p ../)
mv * ${TMP_DIR}
mv ${TMP_DIR}/$ISO .
rm -rf ${TMP_DIR}
7z x $ISO
rm $ISO
ls -lh
Sets read and execute permissions for the Samba Share folder.
Execute the following script:
cd "{automationWorkerLinuxBaseDirectory}/windows_iso_data_for_winpe/"
sudo chmod -R a+rx {windowsFolderOnSamba}
ls -lh
You have completed this instruction.
Join our Discord channel and connect with like-minded individuals who share your passion. Engage in lively discussions, gain valuable insights, and stay updated on the latest trends in our industry. Don't miss out on this opportunity to network, learn, and grow together.
Click the link below and become a part of our vibrant community on Discord today!