{"id":16850315,"url":"https://github.com/jacques/smartos_upgrade_scripts","last_synced_at":"2025-06-14T19:04:38.190Z","repository":{"id":9351170,"uuid":"11202484","full_name":"jacques/smartos_upgrade_scripts","owner":"jacques","description":"Upgrade scripts for SmartOS","archived":false,"fork":false,"pushed_at":"2013-07-07T12:25:54.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T10:31:21.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Azure/azure-quickstart-templates","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacques.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-05T15:17:50.000Z","updated_at":"2019-05-03T08:01:28.000Z","dependencies_parsed_at":"2022-09-08T07:51:13.572Z","dependency_job_id":null,"html_url":"https://github.com/jacques/smartos_upgrade_scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jacques/smartos_upgrade_scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacques%2Fsmartos_upgrade_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacques%2Fsmartos_upgrade_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacques%2Fsmartos_upgrade_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacques%2Fsmartos_upgrade_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacques","download_url":"https://codeload.github.com/jacques/smartos_upgrade_scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacques%2Fsmartos_upgrade_scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259868324,"owners_count":22924231,"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":[],"created_at":"2024-10-13T13:22:13.623Z","updated_at":"2025-06-14T19:04:38.160Z","avatar_url":"https://github.com/jacques.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SmartOS Upgrade Scripts\n\nThese scripts are run from the SmartOS Global Zone.  Please note that I have not tested this on SmartDataCenter,\njust the vanilla SmartOS releases.\n\n## 20130515\n\nFixes the following issues:\n * OS-2175 have mdata:fetch write out new /etc/resolv.conf if required data is in metadata.\n * OS-2194 allow resolvers to be an empty array and in that case, write resolv.conf with no 'nameserver' lines.\n\n   If using Chef it goes into maintenance as it cannot collect the cookbooks to regenerate.  Seemed better to run\n   a upgrade script via the Global Zone to fix this.  The commit that breaks this is: \n   https://github.com/joyent/smartos-live/commit/419670606aed7e7f7f9bc0ac78708b2b3bfe88b8\n\n## 20130613\n\nWorkaround for ntp in maintenance:\n * OS-2135 /etc/rtc_config contains evil\n\n   If using chef in the Global Zone you can just hook in a recipe for ntp and check on the status before executing\n   ntpdate and then clearing the service in maintenance.\n\n# License\n\n```\nCopyright (c) 2013 Jacques Marneweck. All rights reserved.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacques%2Fsmartos_upgrade_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacques%2Fsmartos_upgrade_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacques%2Fsmartos_upgrade_scripts/lists"}