How to Extract ISO and Configure Folder Permissions for Samba Share on Linux

This blueprint is a repeatable process for the Deploy and Extract {windows_distribution} ISO to Samba Share blueprints.

This documentation is generated by Attune

Automate This

Use the Attune GUI for your Scripts

    1 Download Attune
    2 Copy the Attune Project URL
    3 Clone the Project in Attune
    4 Plan your Job(s)
    5 Run your Job(s)

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.

Learn Attune Automation

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
                
            

Completed

You have completed this instruction.

Attune - Powered by ServerTribe

Automate with Attune

Download the Attune Community Edition.

DOWNLOAD!!!

Discuss this Project in Discord

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!

Join NOW!!!