arch-nspawn: generalize mirrorlist variable replacement
The host_mirrors value uses a sed pattern that is closely coupled with the mirror URL pattern in-use by most Arch mirrors. For some variants, like Arch Linux ARM, values such as $repo and $arch sit in other parts in the mirror path. This change makes the sed replacement more generic to accomodate for variations in mirrorlist URLs while remaining backward compatible.
Please register or sign in to comment