DEBIAN_FRONTEND=nonteractive dpkg

Answered

Comments

1 comment

  • Avatar
    juanjo

    You could use the below code:

    <setEnvironmentVariable>
        <name>DEBIAN_FRONTEND</name>
        <value>noninteractive</value>
    </setEnvironmentVariable>
    <runProgram>
       <program>dpkg</program>
       <programArguments>--configure mysql-server-5.1</ProgramArguments> 
    </runprogram>
    

    Please note the <setEnvironmentVariable> action does not add the environment variable to the system, it simply defines it in the current process.

Please sign in to leave a comment.