alobbs / macchanger

GNU MAC Changer
http://www.gnu.org/software/macchanger
GNU General Public License v3.0
577 stars 112 forks source link

Considering an Env Var for Random MAC #89

Closed g-h-97 closed 2 years ago

g-h-97 commented 2 years ago

Hi,

It seems that macchanger prompts the user for whether to activate random mac at boot or not, and this causes an issues while installing macchanger as part of Dockerfile RUN, where it causes the entire install to hang at that prompt.

Could you please consider adding an environment variable for it ? along the lines of BOOTRANDMAC or somthing similar.

Thanx,

g-h-97 commented 2 years ago

Solved by using apt env var DEBIAN_FRONTEND=noninteractive