I'm confused as to why you are running a dmg every time you log in and not installing the contents and trashing the DMG.. Maybe someone could help if they know what was going on.
If you do not mind me asking, what is this DMG you want mounted every time you startup your Mac? If it's a Program, open the DMG and drag the Application to the Applications folder and unmount the DMG and trash it.
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.