{"id":20608819,"url":"https://github.com/uoi-io/discoverd","last_synced_at":"2025-07-10T19:36:18.356Z","repository":{"id":149694172,"uuid":"49588498","full_name":"uoi-io/discoverd","owner":"uoi-io","description":"Discoverd is a ramdisk to get some informations from a server","archived":false,"fork":false,"pushed_at":"2017-05-27T04:09:15.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T17:49:17.939Z","etag":null,"topics":["cpio","discoverd","init","initramfs","initrd","kernel","ramdisk"],"latest_commit_sha":null,"homepage":"http://www.uoi.io","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uoi-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-13T17:04:51.000Z","updated_at":"2017-04-24T23:15:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a2e1dd8-c642-48c5-99f6-cc0dc6f40c16","html_url":"https://github.com/uoi-io/discoverd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uoi-io/discoverd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoi-io%2Fdiscoverd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoi-io%2Fdiscoverd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoi-io%2Fdiscoverd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoi-io%2Fdiscoverd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uoi-io","download_url":"https://codeload.github.com/uoi-io/discoverd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uoi-io%2Fdiscoverd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264640060,"owners_count":23642329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpio","discoverd","init","initramfs","initrd","kernel","ramdisk"],"created_at":"2024-11-16T10:11:56.803Z","updated_at":"2025-07-10T19:36:18.351Z","avatar_url":"https://github.com/uoi-io.png","language":"Shell","readme":"# Discoverd\n\nDiscoverd image is only useful to collect informations of an asset and learn howto build a ramdisk.\n\n  - Interfaces name, speed, status, mac, etc...\n  - Processor, memory\n  - Virtual machine, physical server\n\n### Build the image\n\nBefore bulding the image, few packages are required:\n```sh\n$ sudo apt-get install curl debootstrap\n```\n\nBuild the discoverd image is easy, just run the ``mkdiscoverd.sh`` script. Before running this script be sure that ``debootstrap`` *(this packages exists on Red Hat distributions)* and ``sudo`` packages are installed.\n```sh\n$ git clone git@github.com:uoi-io/discoverd.git\n$ cd discoverd\n$ ./mkdiscoverd.sh\n```\nWhen the build is done, a directory named ``generated`` has been created the ``discoverd.img.gz`` ramdisk and the ``vmlinuz`` associated to this ramdisk.\n\n### Extract the image\n\nFor some reasons you might want extract the image to add scripts, files, etc... To avoid a full rebuild just follow the steps below.\n```sh\n$ gunzip discoverd.img.gz\n$ mkdir discoverd ; cd discoverd\n$ cpio -idv \u003c ../discoverd.img\n$ echo \"\u003e UOI DISCOVERD IMAGE \u003c\" \u003e etc/motd\n$ mkdir opt/folder1\n```\n\nThen rebuild the image with the changes made.\n```\n$ find . | cpio -H newc -o | gzip -v -c \u003e ../discoverd.img.gz\n```\nThe compression is done by ``gzip`` but it can be done by another compression tools:\n  - ``bzip2``\n  - ``lzma``\n  - ``xz``\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuoi-io%2Fdiscoverd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuoi-io%2Fdiscoverd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuoi-io%2Fdiscoverd/lists"}