Quote:
Originally Posted by jharings
What does your firm script look like? You may need to explicitly define the path, or at least provide a placeholder.
|
well I did that... I even thought I saw it as I had a path statement pointing back to the first server.... so now it has both..
here is what I have... .(modified only to remove server info)
image works
/mnt/ptds/Builds/Images/HII/PTHII_Gold.img
this does not work...
Code:
# File Injection Script
export PATH=$PATH:/mnt/ds/RDeploy/Linux:/mnt/ptds/RDeploy/Linux
# Token Replacement Task for Sysprep.inf
# ReplaceTokens /mnt/ptds/Builds/Sysprep/SYSPREP_HII.INF /mnt/ptds/temp/%COMPNAME%.inf
Firm Copy "/mnt/ptds/temp/%COMPNAME%.inf" "prod:/sysprep/sysprep.inf"
#Firm Delete "/mnt/ds/temp/%COMPNAME%.inf"
echo 'sysprep.inf' injected ... > /dev/tty1
# Copy Aclient to machine for DS Agent install
Firm Copy "/mnt/ptds/Builds/Utils/aclient.inp" "prod:/Temp/aclient.inp"
Firm copy "/mnt/ptds/Builds/Utils/altiris-aclient-6.9.366.X86.exe" "prod:/Temp/aclient.exe"
echo AClient injected ... > /dev/tty1
# Set MODEL variable to product name
MODEL="%#!computer@prod_name%"
echo The Computer model for this machine is "$MODEL" > /dev/tty1
case "$MODEL" in
'OptiPlex GX620')
echo Copying Drivers for OptiPlex GX620... > /dev/tty1
Firm -recurse Copy "/mnt/ptds/Builds/Drivers/Opti_620/DRIVERS" "prod:/drivers" > /dev/tty1
;;
'OptiPlex 745')
echo Copying drivers for OptiPlex 745 ... > /dev/tty1
Firm -recurse Copy "/mnt/ptds/Builds/Drivers/Opti_745/DRIVERS" "prod:/drivers" > /dev/tty1
;;
'OptiPlex 755')
echo Copying Drivers for OptiPlex 755... > /dev/tty1
Firm -recurse Copy "/mnt/ptds/Builds/Drivers/Opti_755/DRIVERS" "prod:/drivers" > /dev/tty1
;;
'17097HU')
echo Copying Drivers for IBM X60... > /dev/tty1
firm -recurse copy "/mnt/ptds/Builds/Drivers/IBM_X60/Drivers" "prod:/Drivers" > /dev/tty1
;;
'63717DU')
echo Copying Drivers for IBM T60... > /dev/tty1
firm -recurse copy "/mnt/ptds/Builds/Drivers/IBM_T60/Drivers" "prod:/Drivers" > /dev/tty1
;;
'889703U')
echo Copying Drivers for IBM T61... > /dev/tty1
firm -recurse copy "/mnt/ptds/Builds/Drivers/IBM_T60/Drivers" "prod:/Drivers" > /dev/tty1
;;
'HP Compaq 6510b (RM333UT#ABA)')
echo Copying Drivers for HP 6510b Laptop... > /dev/tty1
Firm -recurse Copy "/mnt/ptds/Builds/Drivers/HP6510b/Drivers" "prod:/Drivers" > /dev/tty1
;;
'HP Compaq 6530b (KR978UT#ABA)')
echo Copying Drivers for HP 6510b Laptop... > /dev/tty1
Firm -recurse Copy "/mnt/ptds/Builds/Drivers/HP6530b/Drivers" "prod:/Drivers" > /dev/tty1
;;
*)
echo This model is currently not supported by the standard image. > /dev/tty1
sleep 30
;;
esac
echo Driver injection complete, Exiting... > /dev/tty1
exit 0
now if I leave the /mnt/ds instead of /mnt/ptds the drivers work just fine.... but I want to pull the drivers local to that site.... i can understand if the image didnt work either.... but it does so the linux boot disk is mounting the correct location and all...
gonna call altiris in a few....