This Blueprints installs the required packages on the worker to create WinPE ISO files.
Automate This
Use the Attune GUI for your Scripts
You've automated: Setup WinPE Support 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.
Connect via ssh:
ssh {automationworkerlinuxuserroot}@{automationworkerlinuxnode}
Execute the following script:
if [[ -f /etc/redhat-release ]] || [[ -f /etc/lsb-release ]]
then
if which 7z >/dev/null; then
echo "p7zip is installed."
else
echo "p7zip is not installed."
dnf -y install p7zip p7zip-plugins
fi
elif [[ -f /etc/debian_version ]]
then
if which 7z >/dev/null; then
echo "p7zip is installed."
else
echo "p7zip is not installed."
apt-get -y install p7zip p7zip-plugins
fi
elif [[ "Darwin" == "$(uname)" ]]
then
if which 7z >/dev/null; then
echo "p7zip is installed."
else
echo "p7zip is not installed."
brew install p7zip
fi
else
echo "Unsupported operating system."
exit 1
fi
Execute the following script:
if [[ -f /etc/redhat-release ]] || [[ -f /etc/lsb-release ]]
then
if fusermount -V >/dev/null; then
echo "FUSE is installed."
else
echo "FUSE is not installed."
dnf -y install fuse
fi
elif [[ -f /etc/debian_version ]]
then
if fusermount -V >/dev/null; then
echo "FUSE is installed."
else
echo "FUSE is not installed."
apt-get -y install fuse
fi
elif [[ "Darwin" == "$(uname)" ]]
then
echo "FUSE is not required for macOS"
else
echo "Unsupported operating system."
exit 1
fi
Execute the following script:
if [[ -f /etc/redhat-release ]] || [[ -f /etc/lsb-release ]]
then
if which mkwinpeimg >/dev/null; then
echo "mkwinpeimg is installed."
else
echo "mkwinpeimg is not installed."
dnf -y install wimlib wimlib-utils fuse
fi
elif [[ -f /etc/debian_version ]]
then
if which mkwinpeimg >/dev/null; then
echo "mkwinpeimg is installed."
else
echo "mkwinpeimg is not installed."
apt-get -y install wimlib wimlib-utils fuse
fi
elif [[ "Darwin" == "$(uname)" ]]
then
if which mkwinpeimg >/dev/null; then
echo "mkwinpeimg is installed."
else
echo "mkwinpeimg is not installed."
brew -y install wimlib
fi
else
echo "Unsupported operating system."
exit 1
fi
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!