Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howtos:cloud:aws_ec2 [2015/01/28 19:45 (UTC)] sycamorex [Install and Initial Setup] |
howtos:cloud:aws_ec2 [2015/06/20 21:35 (UTC)] didierspaier Wrong opening <code> tags after "find /etc -name "*.orig" -delete" replaced with </code> |
||
---|---|---|---|
Line 805: | Line 805: | ||
<code> | <code> | ||
find /etc -name "*.orig" -delete | find /etc -name "*.orig" -delete | ||
- | <code> | + | </code> |
Even that you have managed to protect the configuration payload files, some other files might have been rewritten. For instance, slackpkg does not check for changes for files in ''%%/etc/rc.d%%''. So, as our ''%%openssh%%'' package was updated, its ''%%/etc/rc.d/rc.sshd%%'' was rewritten. So, just grab the source from your original packages and replace its contents with the one you need at the final image. | Even that you have managed to protect the configuration payload files, some other files might have been rewritten. For instance, slackpkg does not check for changes for files in ''%%/etc/rc.d%%''. So, as our ''%%openssh%%'' package was updated, its ''%%/etc/rc.d/rc.sshd%%'' was rewritten. So, just grab the source from your original packages and replace its contents with the one you need at the final image. | ||
Line 852: | Line 852: | ||
</code> | </code> | ||
- | We need to clean up all the mess. We don need that ''%%/boot/grug/grub.cfg%%'' from the installation anymore, so let's get rid of it too. AWS EC2 will use ''%%/boot/grug/menu.lst%%'' instead, which is part of our configuration payload. | + | We need to clean up all the mess. We don need that ''%%/boot/grub/grub.cfg%%'' from the installation anymore, so let's get rid of it too. AWS EC2 will use ''%%/boot/grub/menu.lst%%'' instead, which is part of our configuration payload. |
<code> | <code> | ||
Line 1181: | Line 1181: | ||
* **Wagner Hiendlmayer**, who gave me the opportunity to run a shitty business made out of an even more shitty software. This forced me to come out of the comfort zone I was and to learn many new stuff up to a point that, with his valuable help, the business came to be cool (at least I think it is) and may even become profitable in the near future. | * **Wagner Hiendlmayer**, who gave me the opportunity to run a shitty business made out of an even more shitty software. This forced me to come out of the comfort zone I was and to learn many new stuff up to a point that, with his valuable help, the business came to be cool (at least I think it is) and may even become profitable in the near future. | ||
+ | ====== Sources ====== | ||
+ | |||
+ | * Originally written by [[wiki:user:denydias|denydias]] | ||
+ | <!-- Authors are allowed to give credit to themselves! --> | ||
+ | <!-- * Contributions by [[wiki:user:yyy | User Y]] --> | ||
+ | |||
+ | <!-- Please do not modify anything below, except adding new tags.--> | ||
+ | {{tag>howtos cloud author_denydias }} |