Parameterize Fastname in APT Config file
Posted: Thu Sep 24, 2015 2:11 pm
Is there a way where we can parameterize fastname in apt config file based on the server name on which the DS job is running?
I tried using uname -n in the fastname "" but it does not seem to be working. Even assigning a variable the value of uname -n and then recalling it also does not work. Has anyone tried this before?
E.g.
{
node "node1"
{
fastname "`uname -n`"
pools ""
resource disk "/usr/appl/datasets" {pools ""}
resource scratchdisk "/usr/appl/scratch" {pools ""}
}
}
I tried using uname -n in the fastname "" but it does not seem to be working. Even assigning a variable the value of uname -n and then recalling it also does not work. Has anyone tried this before?
E.g.
{
node "node1"
{
fastname "`uname -n`"
pools ""
resource disk "/usr/appl/datasets" {pools ""}
resource scratchdisk "/usr/appl/scratch" {pools ""}
}
}