Posted on June 29, 2015 6:21 pm
 |  Asked by jbd jbd
 |  841 views
Tags:
RESOLVED
1
0
Print Friendly, PDF & Email

Hello,

every blog/documentation I can found just say that you just need to put some repos definition file inside /etc/yum.repos.d.

OK, but how do you make them persistent across boot ? Put them on /mnt/flash and make a symbolic link at boot ? What is the arista idiomatic way to make yum repository files persistent ?

Jean-Baptiste

0
Posted by andaru
Answered on June 29, 2015 6:30 pm

Hello, Jean-Baptiste;

Yes, that’s the recommended approach as there’s no current EOS CLI for managing the yum configuration.

The user startup script /mnt/flash/rc.eos can be created for just these sorts of startup activities. Once created, it is executed at boot at the beginning of Phase 1 Initialization after the filesystem is prepared.

 

 

0
Posted by jbd jbd
Answered on June 29, 2015 8:51 pm

Got it. I’ve also seen the more event-handler stuff which could be better depending on what I need to do.

Thank you !

Post your Answer

You must be logged in to post an answer.